コード例 #1
0
ファイル: BinaryTaggedDataOutput.cs プロジェクト: NeoTim/etch
        private void StartArray(ArrayValue array)
        {
            // the caller has already written a type code to indicate an
            // array is starting.
            sbyte type = array.Type;

            buf.PutByte(type);
            if (type == TypeCode.CUSTOM)
            {
                WriteType(array.CustomStructType);
            }
            WriteIntValue(array.Dim);
            WriteIntValue(array.Size());
        }