Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWriteChars (0.08 sec)

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

        /* Read in various values NORMALLY */
        byte[] b = new byte[3];
        in.readFully(b);
        byte[] expected = {(byte) 0xAA, (byte) 0xBB, (byte) 0xCC};
        assertEquals(expected, b);
      }
    
      public void testWriteChars() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeChars("r\u00C9sum\u00C9");
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        /* Read in various values NORMALLY */
        byte[] b = new byte[3];
        in.readFully(b);
        byte[] expected = {(byte) 0xAA, (byte) 0xBB, (byte) 0xCC};
        assertEquals(expected, b);
      }
    
      public void testWriteChars() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeChars("r\u00C9sum\u00C9");
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top