Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.cs131 int byteArraySize = Utf8Encoding.GetByteCount(value); in ComputeStringSize()
DCodedInputStream.cs554 String result = CodedOutputStream.Utf8Encoding.GetString(buffer, bufferPos, length); in ReadString()
559 return CodedOutputStream.Utf8Encoding.GetString(ReadRawBytes(length), 0, length); in ReadString()