Package naga

Interface PacketWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer[] write​(java.nio.ByteBuffer[] byteBuffer)
      Convert the incoming bytes to the bytes to be serialized.
    • Method Detail

      • write

        java.nio.ByteBuffer[] write​(java.nio.ByteBuffer[] byteBuffer)
        Convert the incoming bytes to the bytes to be serialized.
        Parameters:
        byteBuffer - an array of ByteBuffers containing data the bytes to be written.
        Returns:
        the resulting array of ByteBuffers.