Interface FromBytes<Value>

Type Parameters:
Value - the type of the unmarshalled values

public interface FromBytes<Value>
A function that unmarshals values from their byte representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(byte[] bytes)
    Unmarshals a value from its byte representation.
  • Method Details

    • get

      Value get(byte[] bytes) throws IOException
      Unmarshals a value from its byte representation.
      Parameters:
      bytes - the bytes
      Returns:
      the value unmarshalled from the bytes
      Throws:
      IOException - if unmarshalling fails