T - Object type.public static interface FileObjectQueue.Converter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
from(byte[] bytes)
Converts bytes to an object.
|
void |
toStream(T o,
OutputStream bytes)
Converts o to bytes written to the specified stream.
|
T from(byte[] bytes) throws IOException
IOExceptionvoid toStream(T o, OutputStream bytes) throws IOException
IOExceptionCopyright © 2015 Square, Inc.. All Rights Reserved.