public enum Wires extends Enum<Wires>
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_MASK |
static int |
META_DATA |
static int |
NOT_INITIALIZED |
static int |
NOT_READY |
static int |
UNKNOWN_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
static net.openhft.chronicle.bytes.Bytes |
acquireAnotherBytes() |
static net.openhft.chronicle.bytes.Bytes |
acquireBytes() |
static boolean |
acquireLock(net.openhft.chronicle.bytes.BytesStore store,
long position) |
static StringBuilder |
acquireStringBuilder() |
static boolean |
exceedsMaxLength(long length) |
static String |
fromSizePrefixedBlobs(net.openhft.chronicle.bytes.Bytes bytes)
This decodes some Bytes where the first 4-bytes is the length.
|
static boolean |
isData(long len) |
static boolean |
isKnownLength(int len) |
static boolean |
isNotInitialized(int len) |
static boolean |
isReady(long len) |
static int |
lengthOf(long len) |
static <T extends ReadMarshallable> |
readData(WireIn wireIn,
T reader) |
static <T extends ReadMarshallable> |
readMeta(WireIn wireIn,
T reader) |
static long |
readWire(WireIn wireIn,
long size,
ReadMarshallable readMarshallable) |
static long |
readWire(WireIn wireIn,
ReadMarshallable readMarshallable) |
static int |
toIntU30(long l,
String error) |
static Wires |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wires[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static <T extends WriteMarshallable> |
writeData(WireOut wireOut,
T writer) |
static <T extends WriteMarshallable> |
writeMeta(WireOut wireOut,
T writer) |
public static final int LENGTH_MASK
public static final int NOT_READY
public static final int META_DATA
public static final int UNKNOWN_LENGTH
public static final int NOT_INITIALIZED
public static Wires[] values()
for (Wires c : Wires.values()) System.out.println(c);
public static Wires valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static String fromSizePrefixedBlobs(@NotNull net.openhft.chronicle.bytes.Bytes bytes)
bytes - to decodepublic static StringBuilder acquireStringBuilder()
public static int lengthOf(long len)
public static boolean isReady(long len)
public static boolean isData(long len)
public static boolean isKnownLength(int len)
public static boolean isNotInitialized(int len)
public static int toIntU30(long l,
@NotNull
String error)
public static boolean acquireLock(net.openhft.chronicle.bytes.BytesStore store,
long position)
public static boolean exceedsMaxLength(long length)
public static <T extends ReadMarshallable> long readData(@NotNull WireIn wireIn, @NotNull T reader)
public static <T extends WriteMarshallable> long writeData(@NotNull WireOut wireOut, @NotNull T writer)
public static <T extends WriteMarshallable> long writeMeta(@NotNull WireOut wireOut, @NotNull T writer)
public static <T extends ReadMarshallable> long readMeta(@NotNull WireIn wireIn, @NotNull T reader)
public static long readWire(@NotNull
WireIn wireIn,
@NotNull
ReadMarshallable readMarshallable)
public static long readWire(@NotNull
WireIn wireIn,
long size,
@NotNull
ReadMarshallable readMarshallable)
public static net.openhft.chronicle.bytes.Bytes acquireBytes()
public static net.openhft.chronicle.bytes.Bytes acquireAnotherBytes()
Copyright © 2016. All rights reserved.