| Modifier and Type | Method and Description |
|---|---|
static byte[] |
bytes(java.lang.String s) |
static java.lang.String |
getCString(java.nio.ByteBuffer buffer,
byte[] store) |
static void |
putCString(java.nio.ByteBuffer buffer,
java.lang.String string) |
static IO |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static IO[] values()
for (IO c : IO.values()) System.out.println(c);
public static IO 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 byte[] bytes(java.lang.String s)
public static java.lang.String getCString(java.nio.ByteBuffer buffer,
byte[] store)
public static void putCString(java.nio.ByteBuffer buffer,
java.lang.String string)
Copyright © 2014. All Rights Reserved.