Package dev.paseto.jpaseto.io
Interface Serializer<T>
-
- Type Parameters:
T- The type of object to write/marshal
public interface Serializer<T>Serialize/marshal an object of typeT.- Since:
- 0.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]serialize(T t)
-
-
-
Method Detail
-
serialize
byte[] serialize(T t) throws SerializationException
- Throws:
SerializationException
-
-