Code example for DataInputStream

Methods: readUnsignedByte

0
			: new DataInputStream( in );
	} 
 
	public int uint8bit() 
			throws IOException { 
		return in.readUnsignedByte();
	} 
 
	public int uint16bit() 
			throws IOException { 
		return in.readUnsignedShort();
	} 
 
	public int int32bit() 
			throws IOException { 
		return in.readInt();
	} 
 
	public long int64bit() 
			throws IOException { 
		return in.readLong();