Interface QueueSerializer<T>
public interface QueueSerializer<T>
Helper to serialize/deserialize queue items
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(byte[] bytes) Deserialize bytes into a queue itembyte[]
Turn a queue item into bytes
-
Method Details
-
serialize
Turn a queue item into bytes- Parameters:
item
- the item- Returns:
- byte representation
-
deserialize
Deserialize bytes into a queue item- Parameters:
bytes
- byte representation- Returns:
- item
-