Interface Bytes


public interface Bytes
The Bytes interface identifies a class's instance as being a bytes container (it's actual payload is binary data) which's managed bytes can be retrieved via the toBytes() method.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Provides the underlying byte representation of the implementing instance.
  • Method Details

    • toBytes

      byte[] toBytes()
      Provides the underlying byte representation of the implementing instance.
      Returns:
      The according byte array.