Package com.offbynull.coroutines.user
Interface CoroutineReader.CoroutineDeserializer
- All Known Implementing Classes:
CoroutineReader.DefaultCoroutineDeserializer
- Enclosing class:
CoroutineReader
public static interface CoroutineReader.CoroutineDeserializer
Coroutine deserializer.
-
Method Summary
-
Method Details
-
deserialize
Deserializes a coroutine.- Parameters:
data
- byte array to deserialize- Returns:
- deserialized state
- Throws:
NullPointerException
- if any argument isnull
IllegalArgumentException
- if failed to serialize
-