示例#1
0
        private void WriteTextWithId(BamlTextWithId node)
        {
            BeginVarSize();

            _blob.Write(ref _pos, (short)GetStringId(node.Value));

            WriteVarSize(RecordType.TextWithId);
        }
示例#2
0
        private void ReadTextWithId()
        {
            ReadRecordSize();

            var node = new BamlTextWithId();

            node.Value = GetString(_accessor.ReadInt16());

            AddNode(node);
        }