Searched refs:CopyFromUtf8 (Results 1 – 2 of 2) 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()
178 public static ByteString CopyFromUtf8(string text) in CopyFromUtf8() method in Google.Protobuf.ByteString