public interface DataSerializer<T>
Modifier and Type | Method and Description |
---|---|
T |
deserialize(DataInput in) |
void |
serialize(T t,
DataOutput out) |
int |
sizeHint()
Returns 0 to indicate unknown (unbounded) capacity.
|
void serialize(T t, DataOutput out) throws IOException
IOException
T deserialize(DataInput in) throws IOException
IOException
int sizeHint()
Copyright © 2013–2020. All rights reserved.