public class MarshallableBytesMarshaller<M extends Marshallable> extends Object implements net.openhft.chronicle.bytes.BytesMarshaller<M>
| Modifier and Type | Method and Description |
|---|---|
static <M extends Marshallable> |
of(java.util.function.Function<net.openhft.chronicle.bytes.Bytes,Wire> wireFactory,
java.util.function.Supplier<M> mSupplier) |
M |
read(net.openhft.chronicle.bytes.Bytes bytes,
M m) |
void |
write(net.openhft.chronicle.bytes.Bytes bytes,
M m) |
public static <M extends Marshallable> MarshallableBytesMarshaller<M> of(java.util.function.Function<net.openhft.chronicle.bytes.Bytes,Wire> wireFactory, java.util.function.Supplier<M> mSupplier)
public void write(net.openhft.chronicle.bytes.Bytes bytes,
M m)
write in interface net.openhft.chronicle.bytes.BytesMarshaller<M extends Marshallable>public M read(net.openhft.chronicle.bytes.Bytes bytes, M m)
read in interface net.openhft.chronicle.bytes.BytesMarshaller<M extends Marshallable>Copyright © 2015. All rights reserved.