java.lang.Object
org.neo4j.driver.internal.async.inbound.ByteBufInput
- All Implemented Interfaces:
PackInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytepeekByte()Get the next byte without forwarding the internal pointerbytereadByte()Consume one bytevoidreadBytes(byte[] into, int offset, int toRead) Consume a specified number of bytesdoubleConsume an 8-byte IEEE 754 "double format" floating-point numberintreadInt()Consume a 4-byte signed integerlongreadLong()Consume an 8-byte signed integershortConsume a 2-byte signed integervoidstart(io.netty.buffer.ByteBuf newBuf) voidstop()
-
Constructor Details
-
ByteBufInput
public ByteBufInput()
-
-
Method Details
-
start
public void start(io.netty.buffer.ByteBuf newBuf) -
stop
public void stop() -
readByte
public byte readByte()Description copied from interface:PackInputConsume one byte -
readShort
public short readShort()Description copied from interface:PackInputConsume a 2-byte signed integer -
readInt
public int readInt()Description copied from interface:PackInputConsume a 4-byte signed integer -
readLong
public long readLong()Description copied from interface:PackInputConsume an 8-byte signed integer -
readDouble
public double readDouble()Description copied from interface:PackInputConsume an 8-byte IEEE 754 "double format" floating-point number- Specified by:
readDoublein interfacePackInput
-
readBytes
public void readBytes(byte[] into, int offset, int toRead) Description copied from interface:PackInputConsume a specified number of bytes -
peekByte
public byte peekByte()Description copied from interface:PackInputGet the next byte without forwarding the internal pointer
-