Class ByteArrayWrapper

java.lang.Object
org.csstudio.swt.widgets.datadefinition.ByteArrayWrapper
All Implemented Interfaces:
IPrimaryArrayWrapper

public class ByteArrayWrapper extends Object implements IPrimaryArrayWrapper
A wrapper for byte[].
  • Constructor Details

    • ByteArrayWrapper

      public ByteArrayWrapper(byte[] data)
  • Method Details

    • setData

      public void setData(byte[] data)
    • get

      public double get(int i)
      Description copied from interface: IPrimaryArrayWrapper
      Get the array element value at index i.
      Specified by:
      get in interface IPrimaryArrayWrapper
      Parameters:
      i - index
      Returns:
      the value at index i.
    • getSize

      public int getSize()
      Description copied from interface: IPrimaryArrayWrapper
      Get size of the array.
      Specified by:
      getSize in interface IPrimaryArrayWrapper
      Returns:
      size of the array.