Searched refs:CopyFromUtf8 (Results 1 – 4 of 4) sorted by relevance
89 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()
93 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()
245 public static ByteString CopyFromUtf8(string text) in CopyFromUtf8() method in Google.Protobuf.ByteString
110 AssertOption(ByteString.CopyFromUtf8("Hello\0World"), options.TryGetBytes, BytesOpt); in ScalarOptions()