| Package | Description |
|---|---|
| de.gsi.dataset.utils | |
| de.gsi.dataset.utils.serializer |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
DataSetSerialiser.checkFieldCompatibility(BinarySerialiser.FieldHeader fieldHeader,
String fieldName,
DataType requireDataType) |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
DataType.fromByte(byte value)
Returns the data type matching the given byte representation, if any.
|
static DataType |
DataType.fromClassType(Class<?> classType)
Returns the data type matching the given java class type, if any.
|
static DataType |
DataType.fromString(String str)
Returns the data type matching the given string representation, if any.
|
DataType |
BinarySerialiser.FieldHeader.getDataType() |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Object[] |
BinarySerialiser.getGenericArrayAsPrimitive(FastByteBuffer readBuffer,
DataType dataType) |
protected static int |
BinarySerialiser.putArrayHeader(FastByteBuffer buffer,
String fieldName,
DataType dataType,
int[] dims) |
protected static void |
BinarySerialiser.putFieldHeader(FastByteBuffer buffer,
String fieldName,
DataType dataType) |
protected static void |
BinarySerialiser.putFieldHeader(FastByteBuffer buffer,
String fieldName,
DataType dataType,
int additionalSize) |
protected static void |
BinarySerialiser.putGenericArrayAsPrimitive(FastByteBuffer buffer,
DataType dataType,
Object[] data,
int nToCopy) |
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.