| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_CODE_MATCH |
| Constructor and Description |
|---|
BinaryWire(net.openhft.chronicle.bytes.Bytes<?> bytes) |
BinaryWire(net.openhft.chronicle.bytes.Bytes<?> bytes,
boolean fixed,
boolean numericFields,
boolean fieldLess) |
| Modifier and Type | Method and Description |
|---|---|
WireOut |
addPadding(int paddingToAdd) |
net.openhft.chronicle.bytes.Bytes<?> |
bytes() |
void |
clear() |
void |
copyTo(WireOut wire) |
void |
flip() |
boolean |
hasDocument() |
boolean |
hasMapping() |
boolean |
hasNextSequenceItem() |
ValueIn |
read()
Read the field if present, or empty string if not present.
|
ValueIn |
read(StringBuilder name)
Read the field if present, or empty string if not present.
|
ValueIn |
read(WireKey key)
Read the field if present which must match the WireKey.
|
Wire |
readComment(StringBuilder s) |
ValueIn |
readEventName(StringBuilder name)
Read a field, or string which is always written, even for formats which might drop the field such as RAW.
|
String |
toString() |
ValueOut |
write()
Write an empty filed marker
|
ValueOut |
write(WireKey key)
Write a key for wires that support fields.
|
Wire |
writeComment(CharSequence s) |
ValueOut |
writeEventName(WireKey key)
Always write a key.
|
ValueOut |
writeValue()
write a field less value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadDocumentwriteDocumentpublic static final int ANY_CODE_MATCH
public BinaryWire(net.openhft.chronicle.bytes.Bytes<?> bytes)
public BinaryWire(net.openhft.chronicle.bytes.Bytes<?> bytes,
boolean fixed,
boolean numericFields,
boolean fieldLess)
public net.openhft.chronicle.bytes.Bytes<?> bytes()
public ValueOut write()
WireOutpublic ValueOut writeValue()
WireOutwriteValue in interface WireOutpublic ValueOut write(WireKey key)
WireOutpublic ValueOut writeEventName(WireKey key)
WireOutwriteEventName in interface WireOutpublic ValueIn read()
WireInpublic ValueIn read(WireKey key)
WireInpublic ValueIn read(StringBuilder name)
WireInpublic ValueIn readEventName(StringBuilder name)
WireInreadEventName in interface WireInpublic boolean hasNextSequenceItem()
hasNextSequenceItem in interface WireInpublic boolean hasMapping()
hasMapping in interface WireInhasMapping in interface WireOutpublic boolean hasDocument()
hasDocument in interface WireOutpublic Wire writeComment(CharSequence s)
writeComment in interface WireOutpublic Wire readComment(StringBuilder s)
readComment in interface WireInpublic WireOut addPadding(int paddingToAdd)
addPadding in interface WireOutCopyright © 2015. All rights reserved.