Package io.deephaven.enterprise.codec
Class FloatArrayCodec
java.lang.Object
io.deephaven.shadow.enterprise.io.deephaven.enterprise.codec.FloatArrayCodec
io.deephaven.enterprise.codec.FloatArrayCodec
- All Implemented Interfaces:
io.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectCodec<float[]>,io.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectDecoder<float[]>,ObjectCodec<float[]>,ObjectDecoder<float[]>
public class FloatArrayCodec
extends io.deephaven.shadow.enterprise.io.deephaven.enterprise.codec.FloatArrayCodec
implements ObjectCodec<float[]>
An
ObjectCodec that encodes a float[] using one integer to indicate the array size and then the array
items sequentially.-
Field Summary
Fields inherited from interface io.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINELFields inherited from interface io.deephaven.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINEL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.deephaven.shadow.enterprise.io.deephaven.enterprise.codec.FloatArrayCodec
decode, decode, decodeStatic, encode, encodeAndGet, encodeInto, expectedObjectWidth, getPrecision, getScale, isNullable, maybeGetResizedBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.util.codec.ObjectCodec
encode, getPrecision, getScale, isNullableMethods inherited from interface io.deephaven.util.codec.ObjectDecoder
decode, expectedObjectWidth
-
Constructor Details
-
FloatArrayCodec
public FloatArrayCodec() -
FloatArrayCodec
-
FloatArrayCodec
-
-
Method Details
-
checkWidth
- Specified by:
checkWidthin interfaceio.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectDecoder<float[]>- Specified by:
checkWidthin interfaceObjectDecoder<float[]>- Throws:
IllegalArgumentException
-