private void WriteTextWithId(BamlTextWithId node) { BeginVarSize(); _blob.Write(ref _pos, (short)GetStringId(node.Value)); WriteVarSize(RecordType.TextWithId); }
private void ReadTextWithId() { ReadRecordSize(); var node = new BamlTextWithId(); node.Value = GetString(_accessor.ReadInt16()); AddNode(node); }