Class ChunkAwareByteBufOutput

java.lang.Object
org.neo4j.driver.internal.async.outbound.ChunkAwareByteBufOutput
All Implemented Interfaces:
PackOutput

public class ChunkAwareByteBufOutput extends Object implements PackOutput
  • Constructor Details

    • ChunkAwareByteBufOutput

      public ChunkAwareByteBufOutput()
  • Method Details

    • start

      public void start(io.netty.buffer.ByteBuf newBuf)
    • stop

      public void stop()
    • writeByte

      public PackOutput writeByte(byte value)
      Description copied from interface: PackOutput
      Produce a single byte
      Specified by:
      writeByte in interface PackOutput
    • writeBytes

      public PackOutput writeBytes(byte[] data)
      Description copied from interface: PackOutput
      Produce binary data
      Specified by:
      writeBytes in interface PackOutput
    • writeShort

      public PackOutput writeShort(short value)
      Description copied from interface: PackOutput
      Produce a 4-byte signed integer
      Specified by:
      writeShort in interface PackOutput
    • writeInt

      public PackOutput writeInt(int value)
      Description copied from interface: PackOutput
      Produce a 4-byte signed integer
      Specified by:
      writeInt in interface PackOutput
    • writeLong

      public PackOutput writeLong(long value)
      Description copied from interface: PackOutput
      Produce an 8-byte signed integer
      Specified by:
      writeLong in interface PackOutput
    • writeDouble

      public PackOutput writeDouble(double value)
      Description copied from interface: PackOutput
      Produce an 8-byte IEEE 754 "double format" floating-point number
      Specified by:
      writeDouble in interface PackOutput