Searched refs:Utf8Encoding (Results 1 – 3 of 3) sorted by relevance
61 internal static readonly Encoding Utf8Encoding = Encoding.UTF8; field in Google.Protobuf.CodedOutputStream271 int length = Utf8Encoding.GetByteCount(value); in WriteString()284 Utf8Encoding.GetBytes(value, 0, value.Length, buffer, position); in WriteString()290 byte[] bytes = Utf8Encoding.GetBytes(value); in WriteString()
131 int byteArraySize = Utf8Encoding.GetByteCount(value); in ComputeStringSize()
554 String result = CodedOutputStream.Utf8Encoding.GetString(buffer, bufferPos, length); in ReadString()559 return CodedOutputStream.Utf8Encoding.GetString(ReadRawBytes(length), 0, length); in ReadString()