Searched refs:UTF_16 (Results 1 – 7 of 7) sorted by relevance
81 public static final Charset UTF_16 = Charset.forName("UTF-16"); field in Charsets
80 public static final String UTF_16 = "UTF-16"; field in HTTP
19 import static com.google.common.base.Charsets.UTF_16;342 assertEquals(Optional.of(UTF_16),412 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
62 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
59 private static final String UTF_16 = "UTF-16"; field in ByteStringTest133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()134 byte[] testBytes = testString.getBytes(UTF_16); in testCopyFrom_StringEncoding()
19 import static com.google.common.base.Charsets.UTF_16;355 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(UTF_16.name()), 2, 14); in testNewDataOutput_writeChars()
516 Charsets.UTF_16,