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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SerializedState
deserialize(byte[] data)
Deserializes a coroutine.
-
-
-
Method Detail
-
deserialize
SerializedState deserialize(byte[] data)
Deserializes a coroutine.- Parameters:
data
- byte array to deserialize- Returns:
- deserialized state
- Throws:
java.lang.NullPointerException
- if any argument isnull
java.lang.IllegalArgumentException
- if failed to serialize
-
-