T - type of the object to deserializepublic interface BytesEncoder<T>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode(T input)
Serializes an object into its binary form.
|
byte[] |
encodeList(List<T> input)
Serializes a list of objects into their binary form.
|
Encoding |
encoding() |
int |
sizeInBytes(T input) |
Copyright © 2015–2019 OpenZipkin. All rights reserved.