public class ListMarshaller<E> extends Object implements CompactBytesMarshaller<List<E>>
Modifier and Type | Field and Description |
---|---|
static int |
NULL_LENGTH |
BYTE_BUFFER_CODE, CLASS_CODE, DATE_CODE, DOUBLE_CODE, INT_CODE, LIST_CODE, LONG_CODE, MAP_CODE, SET_CODE, STRING_CODE, STRINGZ_CODE, STRINGZ_MAP_CODE
Modifier and Type | Method and Description |
---|---|
byte |
code() |
static <E> BytesMarshaller<List<E>> |
of(BytesMarshaller<E> eBytesMarshaller) |
C |
read(Bytes bytes) |
C |
read(Bytes bytes,
C c) |
void |
write(Bytes bytes,
C c) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, read, write
public static final int NULL_LENGTH
public static <E> BytesMarshaller<List<E>> of(BytesMarshaller<E> eBytesMarshaller)
public byte code()
code
in interface CompactBytesMarshaller<List<E>>
public void write(Bytes bytes, C c)
public C read(Bytes bytes)
Copyright © 2019. All rights reserved.