Interface WriteBuffer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void writeByte​(byte b)
      writes a single byte to the buffer.
      void writeBytes​(byte[] bytes)
      writes an array of bytes to the buffer
      void writeInt​(int i)
      writes an int to the buffer.
      void writeLong​(long l)
      writes a long to the buffer
    • Method Detail

      • writeByte

        void writeByte​(byte b)
        writes a single byte to the buffer.
        Parameters:
        b - the byte
      • writeBytes

        void writeBytes​(byte[] bytes)
        writes an array of bytes to the buffer
        Parameters:
        bytes - the byte array
      • writeInt

        void writeInt​(int i)
        writes an int to the buffer.
        Parameters:
        i - the int
      • writeLong

        void writeLong​(long l)
        writes a long to the buffer
        Parameters:
        l - the long