Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DWritingPrimitives.cs49 internal static readonly Encoding Utf8Encoding = Encoding.UTF8; field in Google.Protobuf.WritingPrimitives
168 int length = Utf8Encoding.GetByteCount(value); in WriteString()
184 byte[] bytes = Utf8Encoding.GetBytes(value); in WriteString()
194 … bytesUsed = Utf8Encoding.GetBytes(sourceChars, source.Length, destinationBytes, buffer.Length); in WriteString()
207 byte[] bytes = Utf8Encoding.GetBytes(value); in WriteString()
DCodedOutputStream.ComputeSize.cs135 int byteArraySize = WritingPrimitives.Utf8Encoding.GetByteCount(value); in ComputeStringSize()
DParsingPrimitives.cs605 value = WritingPrimitives.Utf8Encoding.GetString(sourceBytes, length); in ReadRawString()
648 return WritingPrimitives.Utf8Encoding.GetString(pByteSpan, length); in ReadStringSlow()
666 …return WritingPrimitives.Utf8Encoding.GetString(ReadRawBytes(ref buffer, ref state, length), 0, le… in ReadStringSlow()