public interface PackOutput
PackStream writes its output to.| Modifier and Type | Method and Description |
|---|---|
PackOutput |
flush()
If implementation has been buffering data, it should flush those buffers now.
|
PackOutput |
writeByte(byte value)
Produce a single byte
|
PackOutput |
writeBytes(byte[] data,
int offset,
int amountToWrite)
Produce binary data
|
PackOutput |
writeBytes(ByteBuffer data)
Produce binary data
|
PackOutput |
writeDouble(double value)
Produce an 8-byte IEEE 754 "double format" floating-point number
|
PackOutput |
writeInt(int value)
Produce a 4-byte signed integer
|
PackOutput |
writeLong(long value)
Produce an 8-byte signed integer
|
PackOutput |
writeShort(short value)
Produce a 4-byte signed integer
|
PackOutput flush() throws IOException
IOExceptionPackOutput writeByte(byte value) throws IOException
IOExceptionPackOutput writeBytes(ByteBuffer data) throws IOException
IOExceptionPackOutput writeBytes(byte[] data, int offset, int amountToWrite) throws IOException
IOExceptionPackOutput writeShort(short value) throws IOException
IOExceptionPackOutput writeInt(int value) throws IOException
IOExceptionPackOutput writeLong(long value) throws IOException
IOExceptionPackOutput writeDouble(double value) throws IOException
IOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.