| Constructor and Description |
|---|
PackedInputArray(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreData()
True if there is at least one more consumable byte
|
byte |
peekByte()
Get the next byte without forwarding the internal pointer
|
byte |
readByte()
Consume one byte
|
PackInput |
readBytes(byte[] into,
int offset,
int toRead)
Consume a specified number of bytes
|
double |
readDouble()
Consume an 8-byte IEEE 754 "double format" floating-point number
|
int |
readInt()
Consume a 4-byte signed integer
|
long |
readLong()
Consume an 8-byte signed integer
|
short |
readShort()
Consume a 2-byte signed integer
|
public boolean hasMoreData()
throws IOException
PackInputhasMoreData in interface PackInputIOExceptionpublic byte readByte()
throws IOException
PackInputreadByte in interface PackInputIOExceptionpublic short readShort()
throws IOException
PackInputreadShort in interface PackInputIOExceptionpublic int readInt()
throws IOException
PackInputreadInt in interface PackInputIOExceptionpublic long readLong()
throws IOException
PackInputreadLong in interface PackInputIOExceptionpublic double readDouble()
throws IOException
PackInputreadDouble in interface PackInputIOExceptionpublic PackInput readBytes(byte[] into, int offset, int toRead) throws IOException
PackInputreadBytes in interface PackInputIOExceptionpublic byte peekByte()
throws IOException
PackInputpeekByte in interface PackInputIOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.