Class ByteArray

java.lang.Object
org.jgroups.util.ByteArray
All Implemented Interfaces:
SizeStreamable, Streamable

public class ByteArray extends Object implements SizeStreamable
Byte array with an offset and length.

Note that the underlying byte array must not be changed as long as this instance is in use !

  • Field Details

    • array

      private byte[] array
    • offset

      private int offset
    • length

      private int length
  • Constructor Details

    • ByteArray

      public ByteArray(byte[] array, int offset, int length)
    • ByteArray

      public ByteArray(byte[] array)
  • Method Details