ByteBuffer.order

Modifies this buffer's byte order.

@param bo The new byte order, either {@link ByteOrder#BIG_ENDIAN BIG_ENDIAN} or {@link ByteOrder#LITTLE_ENDIAN LITTLE_ENDIAN}

@return This buffer

  1. ByteOrder order()
  2. ByteBuffer order(ByteOrder bo)
    class ByteBuffer
    final
    order

Meta