T - Type of itempublic abstract class ArrayOfItemsSerDe<T> extends Object
| Constructor and Description |
|---|
ArrayOfItemsSerDe() |
| Modifier and Type | Method and Description |
|---|---|
abstract T[] |
deserializeFromMemory(org.apache.datasketches.memory.Memory mem,
int numItems)
Deserialize an array of items from a given Memory object.
|
abstract byte[] |
serializeToByteArray(T[] items)
Serialize an array of items to byte array.
|
public abstract byte[] serializeToByteArray(T[] items)
items - array of items to be serializedpublic abstract T[] deserializeFromMemory(org.apache.datasketches.memory.Memory mem, int numItems)
mem - Memory containing a serialized array of itemsnumItems - number of items in the serialized arrayCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.