Package deltix.qsrv.hf.codec
Class MessageSizeCodec
- java.lang.Object
-
- deltix.qsrv.hf.codec.MessageSizeCodec
-
public final class MessageSizeCodec extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MessageSizeCodec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
fieldSize(int t)
static int
read(byte[] bytes, int offset)
static int
read(deltix.util.collections.ByteQueue in)
static int
read(deltix.util.memory.MemoryDataInput in)
static int
read(java.io.DataInput in)
static int
read(java.io.InputStream in)
static int
readNoPoll(deltix.util.collections.ByteContainer in, int offset)
static int
sizeOf(int t)
static int
write(int t, byte[] dest, int offset)
static void
write(int t, deltix.util.collections.ByteQueue out)
static void
write(int t, deltix.util.memory.MemoryDataOutput out)
static void
write(int t, java.io.OutputStream out)
-
-
-
Field Detail
-
MIN_SIZE
public static final int MIN_SIZE
- See Also:
- Constant Field Values
-
MAX_SIZE
public static final int MAX_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public static int read(byte[] bytes, int offset)
-
read
public static int read(deltix.util.collections.ByteQueue in)
-
readNoPoll
public static int readNoPoll(deltix.util.collections.ByteContainer in, int offset)
-
read
public static int read(deltix.util.memory.MemoryDataInput in)
-
read
public static int read(java.io.InputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static int read(java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(int t, deltix.util.memory.MemoryDataOutput out)
-
sizeOf
public static int sizeOf(int t)
-
write
public static void write(int t, deltix.util.collections.ByteQueue out)
-
write
public static int write(int t, byte[] dest, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(int t, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
fieldSize
public static int fieldSize(int t)
-
-