Interface Buffer


public interface Buffer
Represents a data buffer used for reading and writing binary data.

Buffers are commonly used in network communication and data serialization within the game client. This interface provides access to the underlying byte array that contains the buffer's data.

This is typically used for low-level operations involving packet data or other binary formats used by the game.

  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets the underlying byte array containing the buffer's data.
  • Method Details

    • getArray

      byte[] getArray()
      Gets the underlying byte array containing the buffer's data.

      The returned array contains the raw binary data stored in this buffer. Modifications to the returned array may affect the buffer's contents.

      Returns:
      the byte array containing the buffer's data