public enum Hex extends Enum<Hex>
| Modifier and Type | Method and Description |
|---|---|
static String |
hex(DirectBuffer buffer) |
static String |
hex(DirectBuffer buffer,
int offset,
int length) |
static String |
hex(DirectBuffer buffer,
int offset,
int length,
boolean byteSeparators,
boolean decimalSeparators) |
static Hex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Hex[] values()
for (Hex c : Hex.values()) System.out.println(c);
public static Hex 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 hex(DirectBuffer buffer)
public static String hex(DirectBuffer buffer, int offset, int length)
public static String hex(DirectBuffer buffer, int offset, int length, boolean byteSeparators, boolean decimalSeparators)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.