Home
last modified time | relevance | path

Searched refs:CopyFromUtf8 (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs89 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
95 Assert.IsFalse(ByteString.CopyFromUtf8("X").IsEmpty); in IsEmptyWhenNotEmpty()
112 ByteString bs = ByteString.CopyFromUtf8("Hello"); in ToByteArrayCopiesContents()
124 ByteString bs = ByteString.CopyFromUtf8("\u20ac"); in CopyFromUtf8UsesUtf8()
144 ByteString bs = ByteString.CopyFromUtf8("\u20ac"); in ToStringUtf8()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DByteString.cs178 public static ByteString CopyFromUtf8(string text) in CopyFromUtf8() method in Google.Protobuf.ByteString