Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toByteArray (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

            .isEqualTo(new short[] {(short) 1, (short) 2, (short) 3, (short) 4});
      }
    
      @GwtIncompatible // Shorts.toByteArray
      public void testToByteArray() {
        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

            .isEqualTo(new short[] {(short) 1, (short) 2, (short) 3, (short) 4});
      }
    
      @GwtIncompatible // Shorts.toByteArray
      public void testToByteArray() {
        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top