Module org.neo4j.driver
Class ChunkAwareByteBufOutput
java.lang.Object
org.neo4j.driver.internal.async.outbound.ChunkAwareByteBufOutput
- All Implemented Interfaces:
PackOutput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
start
(io.netty.buffer.ByteBuf newBuf) void
stop()
writeByte
(byte value) Produce a single bytewriteBytes
(byte[] data) Produce binary datawriteDouble
(double value) Produce an 8-byte IEEE 754 "double format" floating-point numberwriteInt
(int value) Produce a 4-byte signed integerwriteLong
(long value) Produce an 8-byte signed integerwriteShort
(short value) Produce a 4-byte signed integer
-
Constructor Details
-
ChunkAwareByteBufOutput
public ChunkAwareByteBufOutput()
-
-
Method Details
-
start
public void start(io.netty.buffer.ByteBuf newBuf) -
stop
public void stop() -
writeByte
Description copied from interface:PackOutput
Produce a single byte- Specified by:
writeByte
in interfacePackOutput
-
writeBytes
Description copied from interface:PackOutput
Produce binary data- Specified by:
writeBytes
in interfacePackOutput
-
writeShort
Description copied from interface:PackOutput
Produce a 4-byte signed integer- Specified by:
writeShort
in interfacePackOutput
-
writeInt
Description copied from interface:PackOutput
Produce a 4-byte signed integer- Specified by:
writeInt
in interfacePackOutput
-
writeLong
Description copied from interface:PackOutput
Produce an 8-byte signed integer- Specified by:
writeLong
in interfacePackOutput
-
writeDouble
Description copied from interface:PackOutput
Produce an 8-byte IEEE 754 "double format" floating-point number- Specified by:
writeDouble
in interfacePackOutput
-