Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readUnsignedShort (0.18 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * except using little-endian byte order.
       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readUnsignedShort() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      }
    
      public void testReadUnsignedShort_eof() throws IOException {
        byte[] buf = {23};
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(buf));
        assertThrows(EOFException.class, () -> in.readUnsignedShort());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testReadLine() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      }
    
      public void testReadUnsignedShort_eof() throws IOException {
        byte[] buf = {23};
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(buf));
        assertThrows(EOFException.class, () -> in.readUnsignedShort());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testReadLine() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      int readUnsignedByte();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readInt();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top