Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fromByteArray (0.25 sec)

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

            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
      public void testFromByteArray() {
        assertThat(
                Longs.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x33}))
            .isEqualTo(0x1213141516171819L);
        assertThat(
                Longs.fromByteArray(
                    new byte[] {
                      (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/LongsTest.java

            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
      public void testFromByteArray() {
        assertThat(
                Longs.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x33}))
            .isEqualTo(0x1213141516171819L);
        assertThat(
                Longs.fromByteArray(
                    new byte[] {
                      (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top