Package deltix.qsrv.hf.codec
Class BinaryCodec
- java.lang.Object
-
- deltix.qsrv.hf.codec.BinaryCodec
-
public class BinaryCodec extends java.lang.Object
User: BazylevD Date: Dec 1, 2009 Time: 9:03:27 PM
-
-
Constructor Summary
Constructors Constructor Description BinaryCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getBinary(int srcOffset, int destOffset, int length, byte[] dest, int compressionLevel)
void
getBinary(int offset, int length, java.io.OutputStream out, int compressionLevel)
void
getBinary(int offset, int length, rtmath.containers.BinaryArray array, int compressionLevel)
int
getDataOffset()
int
getDataPosition()
int
getLength()
boolean
isNull()
java.io.InputStream
openBinary(int compressionLevel)
void
readHeader(deltix.util.memory.MemoryDataInput in)
void
skip()
static void
skip(deltix.util.memory.MemoryDataInput mdi)
static void
write(byte[] data, int offset, int length, deltix.util.memory.MemoryDataOutput out, int compressionLevel)
static void
write(rtmath.containers.interfaces.BinaryArrayReadOnly array, int offset, int length, deltix.util.memory.MemoryDataOutput out, int compressionLevel)
static void
writeNull(deltix.util.memory.MemoryDataOutput out)
-
-
-
Method Detail
-
writeNull
public static void writeNull(deltix.util.memory.MemoryDataOutput out)
-
write
public static void write(byte[] data, int offset, int length, deltix.util.memory.MemoryDataOutput out, int compressionLevel)
-
write
public static void write(rtmath.containers.interfaces.BinaryArrayReadOnly array, int offset, int length, deltix.util.memory.MemoryDataOutput out, int compressionLevel)
-
skip
public static void skip(deltix.util.memory.MemoryDataInput mdi)
-
readHeader
public void readHeader(deltix.util.memory.MemoryDataInput in)
-
isNull
public boolean isNull()
-
getLength
public int getLength() throws NullValueException
- Throws:
NullValueException
-
getDataPosition
public int getDataPosition() throws NullValueException
- Throws:
NullValueException
-
getDataOffset
public int getDataOffset() throws NullValueException
- Throws:
NullValueException
-
getBinary
public void getBinary(int offset, int length, java.io.OutputStream out, int compressionLevel) throws NullValueException
- Throws:
NullValueException
-
getBinary
public void getBinary(int offset, int length, rtmath.containers.BinaryArray array, int compressionLevel) throws NullValueException
- Throws:
NullValueException
-
getBinary
public void getBinary(int srcOffset, int destOffset, int length, byte[] dest, int compressionLevel) throws NullValueException
- Throws:
NullValueException
-
openBinary
public java.io.InputStream openBinary(int compressionLevel)
-
skip
public void skip()
-
-