public final class ValueBinary
extends java.lang.Object
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
byte1(java.io.OutputStream buf,
int b)
1バイトバイナリ変換.
|
static int |
byte1Int(long b,
int[] off)
1バイト数値変換.
|
static void |
byte2(java.io.OutputStream buf,
int b)
2バイトバイナリ変換.
|
static int |
byte2Int(long b,
int[] off)
2バイト数値変換.
|
static void |
byte4(java.io.OutputStream buf,
int b)
4バイトバイナリ変換.
|
static int |
byte4Int(long b,
int[] off)
4バイト数値変換.
|
static void |
byte8(java.io.OutputStream buf,
long b)
8バイトバイナリ変換.
|
static long |
byte8Long(long b,
int[] off)
8バイト数値変換.
|
static java.lang.Object |
byteSerial(long b,
int[] pos)
シリアライズ変換.
|
static java.lang.String |
byteString(long b,
int[] pos)
バイナリ文字変換.
|
static java.lang.Object |
decode(JniBuffer b)
バイナリをオブジェクトに変換.
|
static java.lang.Object |
decode(JniBuffer b,
int off,
int len)
バイナリをオブジェクトに変換.
|
static java.lang.Object |
decodeBinary(int[] outOff,
JniBuffer b,
int len)
バイナリをオブジェクトに変換.
|
static java.lang.Object |
decodeObject(int[] pos,
JniBuffer b,
int length)
オブジェクト解析.
|
static void |
encode(java.io.OutputStream buf,
java.lang.Object o)
オブジェクトをバイナリに変換.
|
static void |
encodeObject(java.io.OutputStream buf,
java.lang.Object o)
オブジェクトデータ変換.
|
static void |
serialBinary(java.io.OutputStream buf,
java.io.Serializable s)
シリアライズ変換.
|
static void |
stringBinary(java.io.OutputStream buf,
java.lang.String s)
文字バイナリ変換.
|
public static final void encode(java.io.OutputStream buf, java.lang.Object o) throws java.lang.Exception
o
- 対象のオブジェクトを設定します.java.lang.Exception
- 例外.public static final java.lang.Object decode(JniBuffer b) throws java.lang.Exception
b
- 対象のJNIバッファを設定します.off
- 対象のオフセット値を設定します.len
- 対象の長さを設定します.java.lang.Exception
- 例外.public static final java.lang.Object decode(JniBuffer b, int off, int len) throws java.lang.Exception
b
- 対象のJNIバッファを設定します.off
- 対象のオフセット値を設定します.len
- 対象の長さを設定します.java.lang.Exception
- 例外.public static final java.lang.Object decodeBinary(int[] outOff, JniBuffer b, int len) throws java.lang.Exception
outOff
- 対象のオフセット値を設定します.b
- 対象のJNIバッファを設定します.len
- 対象の長さを設定します.java.lang.Exception
- 例外.public static final void byte1(java.io.OutputStream buf, int b) throws java.lang.Exception
java.lang.Exception
public static final void byte2(java.io.OutputStream buf, int b) throws java.lang.Exception
java.lang.Exception
public static final void byte4(java.io.OutputStream buf, int b) throws java.lang.Exception
java.lang.Exception
public static final void byte8(java.io.OutputStream buf, long b) throws java.lang.Exception
java.lang.Exception
public static final void stringBinary(java.io.OutputStream buf, java.lang.String s) throws java.lang.Exception
buf
- 対象のバッファを設定します.s
- 対象の情報を設定します.java.lang.Exception
public static final void serialBinary(java.io.OutputStream buf, java.io.Serializable s) throws java.lang.Exception
buf
- 対象のバッファを設定します.s
- 対象の情報を設定します.java.lang.Exception
public static final void encodeObject(java.io.OutputStream buf, java.lang.Object o) throws java.lang.Exception
buf
- 対象のバッファを設定します.o
- 対象のオブジェクトを設定します.java.lang.Exception
- 例外.public static final int byte1Int(long b, int[] off)
public static final int byte2Int(long b, int[] off)
public static final int byte4Int(long b, int[] off)
public static final long byte8Long(long b, int[] off)
public static final java.lang.String byteString(long b, int[] pos) throws java.lang.Exception
b
- 対象のバイナリを設定します.pos
- 対象のポジションを設定します.java.lang.Exception
public static final java.lang.Object byteSerial(long b, int[] pos) throws java.lang.Exception
b
- 対象のバイナリを設定します.pos
- 対象のポジションを設定します.java.lang.Exception
public static final java.lang.Object decodeObject(int[] pos, JniBuffer b, int length) throws java.lang.Exception
pos
- 対象のポジションを設定します.b
- 対象のバイナリを設定します.length
- 対象の長さを設定します.java.lang.Exception