@FunctionalInterface public static interface MetaSerdeHelper.ByteFieldWriter<T> extends MetaSerdeHelper.FieldWriter<T>
Modifier and Type | Method and Description |
---|---|
byte |
getField(T x) |
default int |
size(T x) |
default void |
writeTo(ByteBuffer buffer,
T x) |
byte getField(T x) throws IOException
IOException
default void writeTo(ByteBuffer buffer, T x) throws IOException
writeTo
in interface MetaSerdeHelper.FieldWriter<T>
IOException
default int size(T x)
size
in interface MetaSerdeHelper.FieldWriter<T>
Copyright © 2011–2018. All rights reserved.