Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testUtf16Expected (0.1 seconds)

  1. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChar('a');
        assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97});
      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
      public void testNewDataOutput_writeChars() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChar('a');
        assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97});
      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
      public void testNewDataOutput_writeChars() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top