|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teraspaces.qwframework.FIXFormatAlgorithm
public final class FIXFormatAlgorithm
Used by QWFIX internally.
| Constructor Summary | |
|---|---|
FIXFormatAlgorithm()
|
|
| Method Summary | |
|---|---|
static int |
encodeIntValue(int value,
byte[] buffer,
int start)
Encodes an integer value into a buffer. |
static void |
encodeIntValue(int value,
StringBuilder sb)
Encodes an integer into a string builder. |
static int |
encodeUIntValue(int value,
byte[] buffer,
int start,
int len)
Encodes unsigned integer into a buffer. |
static void |
encodeUIntValue(int value,
StringBuilder sb,
int len)
Encodes an unsigned integer value into string. |
static int |
intLength(int value)
Calculates the encoded length of an integer. |
static int |
numberFromString(String s,
int start,
int len)
Parses an integer number from a string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FIXFormatAlgorithm()
| Method Detail |
|---|
public static int intLength(int value)
value - the value
public static int encodeIntValue(int value,
byte[] buffer,
int start)
value - the valuebuffer - the bufferstart - the start position
public static void encodeIntValue(int value,
StringBuilder sb)
value - the valuesb - the buffer
public static int encodeUIntValue(int value,
byte[] buffer,
int start,
int len)
value - the valuebuffer - the bufferstart - the start positionlen - the length
public static void encodeUIntValue(int value,
StringBuilder sb,
int len)
value - the valuesb - the bufferlen - the length
public static int numberFromString(String s,
int start,
int len)
s - the input stringstart - the start positionlen - the length
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||