@Test(expected = NullPointerException.class) public void readNull() throws IOException { UINT16.read(null); }
public static UINT16 read(InputStream is) throws IOException { byte[] bytes = new byte[SIZE_IN_BYTES]; if (is.read(bytes) != SIZE_IN_BYTES) { throw new EOFException(); } return new UINT16(bytes); }
UINT16 extends PtpInteger { public static UINT16 read(InputStream is) throws IOException { byte[] bytes = new byte[SIZE_IN_BYTES]; if (is.read(bytes) != SIZE_IN_BYTES) { throw new EOFException(); } return new UINT16(bytes); } }
UINT16 extends PtpInteger { public static UINT16 read(InputStream is) throws IOException { byte[] bytes = new byte[SIZE_IN_BYTES]; if (is.read(bytes) != SIZE_IN_BYTES) { throw new EOFException(); } return new UINT16(bytes); } UINT16(long value);  UINT16(BigInteger value);  UINT16(byte[] bytes); }
UINT16 extends PtpInteger { public static UINT16 read(InputStream is) throws IOException { byte[] bytes = new byte[SIZE_IN_BYTES]; if (is.read(bytes) != SIZE_IN_BYTES) { throw new EOFException(); } return new UINT16(bytes); } UINT16(long value);  UINT16(BigInteger value);  UINT16(byte[] bytes); static UINT16 read(InputStream is); }
UINT16 extends PtpInteger { public static UINT16 read(InputStream is) throws IOException { byte[] bytes = new byte[SIZE_IN_BYTES]; if (is.read(bytes) != SIZE_IN_BYTES) { throw new EOFException(); } return new UINT16(bytes); } UINT16(long value);  UINT16(BigInteger value);  UINT16(byte[] bytes); static UINT16 read(InputStream is); static final int SIZE_IN_BYTES; static final UINT16 MIN_VALUE; static final UINT16 MAX_VALUE; static final UINT16 ZERO; }