Package nom.tam.util.type
Class UnknownType
- All Implemented Interfaces:
PrimitiveType<Buffer>
-
Field Summary
Fields inherited from class nom.tam.util.type.PrimitiveTypeBase
COPY_BLOCK_SIZE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nom.tam.util.type.PrimitiveTypeBase
appendBuffer, appendToByteBuffer, asTypedBuffer, bitPix, bufferClass, convertToByteBuffer, getArray, getArray, getArray, individualSize, is, newArray, newBuffer, newBuffer, primitiveClass, putArray, putArray, size, sliceBuffer, type, wrap, wrapperClass
-
Constructor Details
-
UnknownType
protected UnknownType()
-
-
Method Details
-
size
Description copied from class:PrimitiveTypeBase
currently the only individual size primitive so, keep it simple- Specified by:
size
in interfacePrimitiveType<Buffer>
- Overrides:
size
in classPrimitiveTypeBase<Buffer>
- Parameters:
instance
- the object to calculate the size- Returns:
- the size in bytes of the object instance
-