Package io.deephaven.enterprise.codec
Class IntArrayCodec
java.lang.Object
io.deephaven.shadow.enterprise.io.deephaven.enterprise.codec.IntArrayCodec
io.deephaven.enterprise.codec.IntArrayCodec
- All Implemented Interfaces:
io.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectCodec<int[]>
,io.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectDecoder<int[]>
,ObjectCodec<int[]>
,ObjectDecoder<int[]>
public class IntArrayCodec
extends io.deephaven.shadow.enterprise.io.deephaven.enterprise.codec.IntArrayCodec
implements ObjectCodec<int[]>
An
ObjectCodec
that encodes a int[]
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_SENTINEL
Fields 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.IntArrayCodec
decode, decode, decodeStatic, encode, encodeAndGet, encodeInto, expectedObjectWidth, getPrecision, getScale, isNullable, maybeGetResizedBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.util.codec.ObjectCodec
encode, getPrecision, getScale, isNullable
Methods inherited from interface io.deephaven.util.codec.ObjectDecoder
decode, expectedObjectWidth
-
Constructor Details
-
IntArrayCodec
public IntArrayCodec() -
IntArrayCodec
-
IntArrayCodec
-
-
Method Details
-
checkWidth
- Specified by:
checkWidth
in interfaceio.deephaven.shadow.enterprise.com.illumon.util.codec.ObjectDecoder<int[]>
- Specified by:
checkWidth
in interfaceObjectDecoder<int[]>
- Throws:
IllegalArgumentException
-