public class SbeOutput
extends java.lang.Object
构造器和说明 |
---|
SbeOutput(org.agrona.MutableDirectBuffer buffer) |
限定符和类型 | 方法和说明 |
---|---|
void |
reset() |
byte[] |
toBytes() |
<T extends SbeSerializable> |
writeArray(T[] array) |
void |
writeBigDecimal(java.math.BigDecimal bigDecimal) |
void |
writeBigInteger(java.math.BigInteger bigInteger) |
void |
writeBoolean(boolean booleanValue) |
void |
writeByte(byte byteValue) |
void |
writeByteArray(byte[] bytes) |
void |
writeChar(char charValue) |
void |
writeCharArray(char[] chars) |
void |
writeDouble(double doubleValue) |
void |
writeDoubleArray(double[] doubles) |
void |
writeFloat(float floatValue) |
void |
writeFloatArray(float[] floats) |
void |
writeInt(int intValue) |
void |
writeIntArray(int[] ints) |
<T extends SbeSerializable> |
writeList(java.util.List<SbeSerializable> collection) |
void |
writeLong(long longValue) |
void |
writeLongArray(long[] longs) |
<K,V> void |
writeMap(java.util.Map<K,V> map,
java.util.function.BiConsumer<SbeOutput,K> keyMarshaller,
java.util.function.BiConsumer<SbeOutput,V> valMarshaller) |
<T> void |
writeNullable(T object,
java.util.function.BiConsumer<T,SbeOutput> marshaller) |
<T extends SbeSerializable> |
writeObject(T object) |
void |
writeShort(short shortValue) |
void |
writeShortArray(short[] shorts) |
void |
writeString(java.lang.String stringValue) |
public byte[] toBytes()
public void writeInt(int intValue)
public void writeLong(long longValue)
public void writeFloat(float floatValue)
public void writeDouble(double doubleValue)
public void writeByte(byte byteValue)
public void writeChar(char charValue)
public void writeBoolean(boolean booleanValue)
public void writeShort(short shortValue)
public void writeString(java.lang.String stringValue)
public void writeBigInteger(java.math.BigInteger bigInteger)
public void writeBigDecimal(java.math.BigDecimal bigDecimal)
public void writeIntArray(int[] ints)
public void writeLongArray(long[] longs)
public void writeFloatArray(float[] floats)
public void writeDoubleArray(double[] doubles)
public void writeShortArray(short[] shorts)
public void writeByteArray(byte[] bytes)
public void writeCharArray(char[] chars)
public <T extends SbeSerializable> void writeObject(T object)
public <T extends SbeSerializable> void writeArray(T[] array)
public <T extends SbeSerializable> void writeList(java.util.List<SbeSerializable> collection)
public <T> void writeNullable(T object, java.util.function.BiConsumer<T,SbeOutput> marshaller)
public <K,V> void writeMap(java.util.Map<K,V> map, java.util.function.BiConsumer<SbeOutput,K> keyMarshaller, java.util.function.BiConsumer<SbeOutput,V> valMarshaller)
public void reset()