public enum WireInternal extends Enum<WireInternal>
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
acquireAnotherStringBuilder(CharSequence cs) |
static StringBuilder |
acquireStringBuilder() |
static void |
compress(ValueOut out,
String compression,
String str)
Deprecated.
|
static String |
fromSizePrefixedBinaryToText(net.openhft.chronicle.bytes.Bytes bytes)
Deprecated.
|
static <E extends Enum<E>> |
internEnum(Class<E> eClass,
CharSequence cs) |
static void |
rawReadData(WireIn wireIn,
ReadMarshallable dataConsumer) |
static boolean |
readData(long offset,
WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
static boolean |
readData(WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
static Throwable |
throwable(ValueIn valueIn,
boolean appendCurrentStack) |
static WireInternal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WireInternal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static long |
writeData(WireOut wireOut,
boolean metaData,
boolean notReady,
WriteMarshallable writer) |
static long |
writeDataOrAdvanceIfNotEmpty(WireOut wireOut,
boolean metaData,
WriteMarshallable writer) |
public static WireInternal[] values()
for (WireInternal c : WireInternal.values()) System.out.println(c);
public static WireInternal 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 <E extends Enum<E>> E internEnum(Class<E> eClass, CharSequence cs)
public static StringBuilder acquireStringBuilder()
public static StringBuilder acquireAnotherStringBuilder(CharSequence cs)
public static long writeData(@NotNull
WireOut wireOut,
boolean metaData,
boolean notReady,
@NotNull
WriteMarshallable writer)
public static long writeDataOrAdvanceIfNotEmpty(@NotNull
WireOut wireOut,
boolean metaData,
@NotNull
WriteMarshallable writer)
wireOut - the targetmetaData - true if meta datawriter - the write of the datapublic static boolean readData(long offset,
@NotNull
WireIn wireIn,
@Nullable
ReadMarshallable metaDataConsumer,
@Nullable
ReadMarshallable dataConsumer)
public static boolean readData(@NotNull
WireIn wireIn,
@Nullable
ReadMarshallable metaDataConsumer,
@Nullable
ReadMarshallable dataConsumer)
public static void rawReadData(@NotNull
WireIn wireIn,
@NotNull
ReadMarshallable dataConsumer)
@Deprecated public static String fromSizePrefixedBinaryToText(@NotNull net.openhft.chronicle.bytes.Bytes bytes)
@Deprecated public static void compress(ValueOut out, String compression, String str)
Copyright © 2016. All rights reserved.