public class ByteVector extends ObjectSE
| コンストラクターと説明 |
|---|
ByteVector() デフォルトの初期容量で新しい ByteVector を構築します。 |
ByteVector(int initialCapacity) 指定された初期容量で新しい ByteVector を構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ByteVector | putByte(int byteValue) バイトをこのバイトベクトルに入れます。 |
ByteVector | putByteArray(byte[] byteArrayValue, int byteOffset, int byteLength) バイトの配列をこのバイトベクトルに入れます。 |
ByteVector | putInt(int intValue)int をこのバイトベクトルに入れます。 |
ByteVector | putLong(long longValue)long をこのバイトベクトルに入れます。 |
ByteVector | putShort(int shortValue)short をこのバイトベクトルに入れます。 |
ByteVector | putUTF8(StringSE stringValue)UTF8 文字列をこのバイトベクトルに入れます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ByteVector()
ByteVector を構築します。public ByteVector(int initialCapacity)
ByteVector を構築します。initialCapacity - 構築されるバイトベクトルの初期容量。public ByteVector putByte(int byteValue)
byteValue - バイト。public ByteVector putShort(int shortValue)
shortValue - ショート。public ByteVector putInt(int intValue)
intValue - int。public ByteVector putLong(long longValue)
longValue - 長い。public ByteVector putUTF8(StringSE stringValue)
stringValue - UTF8 エンコードされた長さが 65536 未満である必要がある文字列。public ByteVector putByteArray(byte[] byteArrayValue, int byteOffset, int byteLength)
byteArrayValue - バイトの配列。このバイトベクトルに byteLength null バイトを入れるために null の場合があります。byteOffset - コピーする必要がある byteArrayValue の最初のバイトのインデックス。byteLength - コピーする必要がある byteArrayValue のバイト数。