public enum Utf8ByteHelper extends java.lang.Enum<Utf8ByteHelper>
| Modifier and Type | Method and Description |
|---|---|
static int |
findBufferLimit(java.nio.ByteBuffer buffer) |
static int |
length(byte value) |
static Utf8ByteHelper |
parse(byte value) |
static Utf8ByteHelper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Utf8ByteHelper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utf8ByteHelper SINGLE
public static final Utf8ByteHelper START
public static final Utf8ByteHelper MULTI
public static final Utf8ByteHelper UNKNOWN
public static Utf8ByteHelper[] values()
for (Utf8ByteHelper c : Utf8ByteHelper.values()) System.out.println(c);
public static Utf8ByteHelper valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Utf8ByteHelper parse(byte value)
public static int length(byte value)
public static int findBufferLimit(java.nio.ByteBuffer buffer)
throws FileDecoderException
FileDecoderExceptionCopyright © 2021 Perforce Software. All Rights Reserved.