public interface AsciiBuffer
extends org.agrona.DirectBuffer
| Modifier and Type | Field and Description |
|---|---|
static int |
DOT_LENGTH |
static int |
LONGEST_FLOAT_LENGTH |
static int |
LONGEST_INT_LENGTH |
static int |
LONGEST_LONG_LENGTH |
static byte |
NEGATIVE |
static byte |
SEPARATOR |
static int |
SEPARATOR_LENGTH |
static int |
UNKNOWN_INDEX |
static byte |
YES |
static int |
ZERO_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
int |
computeChecksum(int startInclusive,
int endExclusive) |
java.lang.String |
getAscii(int offset,
int length)
May not be the best performance conversion: don't use this on a critical application path.
|
boolean |
getBoolean(int index) |
byte |
getByte(int index) |
byte[] |
getBytes(byte[] oldBuffer,
int offset,
int length) |
char |
getChar(int index) |
char[] |
getChars(char[] oldBuffer,
int offset,
int length) |
int |
getDigit(int index) |
DecimalFloat |
getFloat(DecimalFloat number,
int offset,
int length) |
int |
getInt(int startInclusive,
int endExclusive) |
int |
getLocalMktDate(int offset,
int length) |
long |
getMessageType(int offset,
int length) |
int |
getNatural(int startInclusive,
int endExclusive) |
long |
getNaturalLong(int startInclusive,
int endExclusive) |
int |
getUtcDateOnly(int offset) |
long |
getUtcTimeOnly(int offset,
int length) |
long |
getUtcTimestamp(int offset,
int length) |
boolean |
isDigit(int index) |
int |
scan(int startInclusive,
int endExclusive,
byte terminator) |
int |
scan(int startInclusive,
int endExclusive,
char terminatingCharacter) |
int |
scanBack(int startInclusive,
int endExclusive,
byte terminator) |
int |
scanBack(int startInclusive,
int endExclusive,
char terminatingCharacter) |
addressOffset, boundsCheck, byteArray, byteBuffer, capacity, checkLimit, getBytes, getBytes, getBytes, getBytes, getBytes, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getShort, getShort, getStringAscii, getStringAscii, getStringAscii, getStringAscii, getStringAscii, getStringAscii, getStringUtf8, getStringUtf8, getStringUtf8, getStringWithoutLengthAscii, getStringWithoutLengthAscii, getStringWithoutLengthUtf8, parseIntAscii, parseLongAscii, parseNaturalIntAscii, parseNaturalLongAscii, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapAdjustmentstatic final int UNKNOWN_INDEX
static final byte YES
static final byte NEGATIVE
static final int LONGEST_INT_LENGTH
static final int LONGEST_LONG_LENGTH
static final int LONGEST_FLOAT_LENGTH
static final int SEPARATOR_LENGTH
static final int DOT_LENGTH
static final int ZERO_LENGTH
static final byte SEPARATOR
int getNatural(int startInclusive,
int endExclusive)
long getNaturalLong(int startInclusive,
int endExclusive)
int getInt(int startInclusive,
int endExclusive)
int getDigit(int index)
boolean isDigit(int index)
byte getByte(int index)
getByte in interface org.agrona.DirectBufferchar getChar(int index)
getChar in interface org.agrona.DirectBufferboolean getBoolean(int index)
byte[] getBytes(byte[] oldBuffer,
int offset,
int length)
char[] getChars(char[] oldBuffer,
int offset,
int length)
java.lang.String getAscii(int offset,
int length)
offset - at which the string begins.length - of the string in bytes.long getMessageType(int offset,
int length)
DecimalFloat getFloat(DecimalFloat number, int offset, int length)
int getLocalMktDate(int offset,
int length)
long getUtcTimestamp(int offset,
int length)
long getUtcTimeOnly(int offset,
int length)
int getUtcDateOnly(int offset)
int scanBack(int startInclusive,
int endExclusive,
char terminatingCharacter)
int scanBack(int startInclusive,
int endExclusive,
byte terminator)
int scan(int startInclusive,
int endExclusive,
char terminatingCharacter)
int scan(int startInclusive,
int endExclusive,
byte terminator)
int computeChecksum(int startInclusive,
int endExclusive)
Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.