| Constructor and Description |
|---|
TextWire(net.openhft.chronicle.bytes.Bytes<?> bytes) |
| Modifier and Type | Method and Description |
|---|---|
WireOut |
addPadding(int paddingToAdd) |
static String |
asText(Wire wire) |
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) |
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 |
writeValue()
write a field less value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadDocument, readEventNamewriteDocument, writeEventNamepublic static final String FIELD_SEP
public net.openhft.chronicle.bytes.Bytes<?> bytes()
public WireOut addPadding(int paddingToAdd)
addPadding in interface WireOutpublic ValueOut write()
WireOutpublic ValueOut writeValue()
WireOutwriteValue in interface WireOutpublic ValueOut write(WireKey key)
WireOutpublic ValueIn read()
WireInpublic ValueIn read(WireKey key)
WireInpublic ValueIn read(StringBuilder name)
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 WireInCopyright © 2015. All rights reserved.