Searched refs:unescapeBytes (Results 1 – 3 of 3) sorted by relevance
638 TextFormat.unescapeBytes("\\000\\001\\a\\b\\f\\n\\r\\t\\v\\\\\\'\\\"")); in testEscape()648 assertEquals(bytes("hello"), TextFormat.unescapeBytes("hello")); in testEscape()655 assertEquals(bytes(0xe1, 0x88, 0xb4), TextFormat.unescapeBytes("\\341\\210\\264")); in testEscape()657 assertEquals(bytes(0xe1, 0x88, 0xb4), TextFormat.unescapeBytes("\\xe1\\x88\\xb4")); in testEscape()662 assertEquals(zhByteString, TextFormat.unescapeBytes(zh)); in testEscape()
1149 final ByteString result = unescapeBytes(escaped); in consumeByteString()2043 public static ByteString unescapeBytes(final CharSequence charString) in unescapeBytes() method in TextFormat2175 return unescapeBytes(input).toStringUtf8(); in unescapeText()
1506 defaultValue = TextFormat.unescapeBytes(proto.getDefaultValue()); in crossLink()