public class Cast
extends java.lang.Object
ByteBuffer
and Object representations for primitive BDL types.Constructor and Description |
---|
Cast() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
from_bool(java.lang.Boolean value) |
static java.nio.ByteBuffer |
from_bytes(java.nio.ByteBuffer value) |
static java.nio.ByteBuffer |
from_double(java.lang.Double value) |
static java.nio.ByteBuffer |
from_fixed32(java.lang.Integer value) |
static java.nio.ByteBuffer |
from_fixed64(java.lang.Long value) |
static java.nio.ByteBuffer |
from_float(java.lang.Float value) |
static java.nio.ByteBuffer |
from_int32(java.lang.Integer value) |
static java.nio.ByteBuffer |
from_int64(java.lang.Long value) |
static java.nio.ByteBuffer |
from_sfixed32(java.lang.Integer value) |
static java.nio.ByteBuffer |
from_sfixed64(java.lang.Long value) |
static java.nio.ByteBuffer |
from_sint32(java.lang.Integer value) |
static java.nio.ByteBuffer |
from_sint64(java.lang.Long value) |
static java.nio.ByteBuffer |
from_string(java.lang.String value) |
static java.lang.Boolean |
to_bool(java.nio.ByteBuffer buf) |
static java.nio.ByteBuffer |
to_bytes(java.nio.ByteBuffer buf) |
static java.lang.Double |
to_double(java.nio.ByteBuffer buf) |
static java.lang.Integer |
to_fixed32(java.nio.ByteBuffer buf) |
static java.lang.Long |
to_fixed64(java.nio.ByteBuffer buf) |
static java.lang.Float |
to_float(java.nio.ByteBuffer buf) |
static java.lang.Integer |
to_int32(java.nio.ByteBuffer buf) |
static java.lang.Long |
to_int64(java.nio.ByteBuffer buf) |
static java.lang.Integer |
to_sfixed32(java.nio.ByteBuffer buf) |
static java.lang.Long |
to_sfixed64(java.nio.ByteBuffer buf) |
static java.lang.Integer |
to_sint32(java.nio.ByteBuffer buf) |
static java.lang.Long |
to_sint64(java.nio.ByteBuffer buf) |
static java.lang.String |
to_string(java.nio.ByteBuffer buf) |
public static java.lang.Boolean to_bool(java.nio.ByteBuffer buf)
public static java.lang.Integer to_int32(java.nio.ByteBuffer buf)
public static java.lang.Integer to_sint32(java.nio.ByteBuffer buf)
public static java.lang.Integer to_fixed32(java.nio.ByteBuffer buf)
public static java.lang.Integer to_sfixed32(java.nio.ByteBuffer buf)
public static java.lang.Long to_int64(java.nio.ByteBuffer buf)
public static java.lang.Long to_sint64(java.nio.ByteBuffer buf)
public static java.lang.Long to_fixed64(java.nio.ByteBuffer buf)
public static java.lang.Long to_sfixed64(java.nio.ByteBuffer buf)
public static java.lang.Float to_float(java.nio.ByteBuffer buf)
public static java.lang.Double to_double(java.nio.ByteBuffer buf)
public static java.nio.ByteBuffer to_bytes(java.nio.ByteBuffer buf)
public static java.lang.String to_string(java.nio.ByteBuffer buf)
public static java.nio.ByteBuffer from_bool(java.lang.Boolean value)
public static java.nio.ByteBuffer from_int32(java.lang.Integer value)
public static java.nio.ByteBuffer from_sint32(java.lang.Integer value)
public static java.nio.ByteBuffer from_fixed32(java.lang.Integer value)
public static java.nio.ByteBuffer from_sfixed32(java.lang.Integer value)
public static java.nio.ByteBuffer from_int64(java.lang.Long value)
public static java.nio.ByteBuffer from_sint64(java.lang.Long value)
public static java.nio.ByteBuffer from_fixed64(java.lang.Long value)
public static java.nio.ByteBuffer from_sfixed64(java.lang.Long value)
public static java.nio.ByteBuffer from_float(java.lang.Float value)
public static java.nio.ByteBuffer from_double(java.lang.Double value)
public static java.nio.ByteBuffer from_string(java.lang.String value)
public static java.nio.ByteBuffer from_bytes(java.nio.ByteBuffer value)