public class NXCPDataInputStream extends DataInputStream
in| Constructor and Description |
|---|
NXCPDataInputStream(byte[] data)
Create NXCP data input stream for reading from existing byte array
|
NXCPDataInputStream(InputStream in)
Create NXCP data input stream on top of existing input stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
readUnsignedInt()
Read unsigned 32-bit integer from input stream
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, mark, markSupported, read, reset, skippublic NXCPDataInputStream(InputStream in)
in - Input streampublic NXCPDataInputStream(byte[] data)
data - Byte array to read data frompublic long readUnsignedInt()
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamCopyright © 2017. All rights reserved.