Modifier and Type | Field and Description |
---|---|
protected byte |
_bpv |
protected byte |
_gap |
protected static byte |
_NA |
Constructor and Description |
---|
CBSChunk(byte[] bs,
byte gap,
byte bpv) |
Modifier and Type | Method and Description |
---|---|
protected long |
at8_impl(int idx) |
protected byte |
atb(int idx) |
protected double |
atd_impl(int idx)
Chunk-specific readers.
|
static int |
clen(int values,
int bpv)
Returns compressed len of the given array length if the value if represented by bpv-bits.
|
protected boolean |
isNA_impl(int i) |
Chunk |
read(AutoBuffer bb)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
static byte |
read1b(byte b,
int off)
Reads 1bit from given b in given offset.
|
static byte |
read2b(byte b,
int off)
Reads 1bit from given b in given offset.
|
AutoBuffer |
write(AutoBuffer bb)
Chunk-specific implementations of read and write
|
static byte |
write1b(byte b,
byte val,
int off)
Writes 1bit from value into b at given offset and return b
|
static byte |
write2b(byte b,
byte val,
int off)
Writes 2bits from value into b at given offset and return b
|
at_slow, at, at0, at8_slow, at8, at80, byteSize, cidx, clone, close, getBytes, isNA_slow, isNA, isNA0, isSparse, nextNZ, nonzeros, nonzeros, pformat_len, pformat_len0, pformat_len0, pformat, pformat0, readable, set, set, set, set0, set0, set0, setNA, setNA0, sparseLen, toString, writable
frozenType, init, newInstance, toDocField, writeJSON, writeJSONFields
protected static final byte _NA
protected byte _bpv
protected byte _gap
protected double atd_impl(int idx)
Chunk
protected byte atb(int idx)
public AutoBuffer write(AutoBuffer bb)
Chunk
public Chunk read(AutoBuffer bb)
Freezable
public static byte write1b(byte b, byte val, int off)
public static byte write2b(byte b, byte val, int off)
public static byte read1b(byte b, int off)
public static byte read2b(byte b, int off)
public static int clen(int values, int bpv)