Package zipkin2.codec
Interface BytesEncoder<T>
-
- Type Parameters:
T- type of the object to deserialize
- All Known Implementing Classes:
DependencyLinkBytesEncoder,SpanBytesEncoder
public interface BytesEncoder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]encode(T input)Serializes an object into its binary form.byte[]encodeList(java.util.List<T> input)Serializes a list of objects into their binary form.Encodingencoding()intsizeInBytes(T input)
-