Home
last modified time | relevance | path

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

/external/protobuf/csharp/compatibility_tests/v3.0.0/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()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs93 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
99 Assert.IsFalse(ByteString.CopyFromUtf8("X").IsEmpty); in IsEmptyWhenNotEmpty()
116 ByteString bs = ByteString.CopyFromUtf8("Hello"); in ToByteArrayCopiesContents()
128 ByteString bs = ByteString.CopyFromUtf8("\u20ac"); in CopyFromUtf8UsesUtf8()
148 ByteString bs = ByteString.CopyFromUtf8("\u20ac"); in ToStringUtf8()
/external/protobuf/csharp/src/Google.Protobuf/
DByteString.cs245 public static ByteString CopyFromUtf8(string text) in CopyFromUtf8() method in Google.Protobuf.ByteString
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DCustomOptionsTest.cs110 AssertOption(ByteString.CopyFromUtf8("Hello\0World"), options.TryGetBytes, BytesOpt); in ScalarOptions()