- Type Parameters:
Value- the type of the marshalled values
public interface ToBytes<Value>
A function that marshals values into their byte representation.
-
Method Summary
-
Method Details
-
get
Marshals a value into its byte representation.- Parameters:
value- the value to marshals- Returns:
- the resulting bytes
- Throws:
IOException- if marshalling fails
-