Home
last modified time | relevance | path

Searched refs:Utf8Encoding (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.cs61 internal static readonly Encoding Utf8Encoding = Encoding.UTF8; field in Google.Protobuf.CodedOutputStream
271 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()
DCodedOutputStream.ComputeSize.cs135 int byteArraySize = Utf8Encoding.GetByteCount(value); in ComputeStringSize()
DCodedInputStream.cs572 String result = CodedOutputStream.Utf8Encoding.GetString(buffer, bufferPos, length); in ReadString()
577 return CodedOutputStream.Utf8Encoding.GetString(ReadRawBytes(length), 0, length); in ReadString()