Пример #1
0
 internal void WriteRawBytes(byte[] value, int length)
 {
     CheckBuffer(length);
     WireFormat.CopyBytes(value, _buffer, 0, _pos, length);
     _pos += length;
 }
Пример #2
0
 void WriteTag(int fieldNumber, WireFormat.WireType type)
 {
     WriteVarint32(WireFormat.MakeTag(fieldNumber, type));
 }