データがバイト配列に書き込まれるストリームの実装
| コンストラクタの概要 | |
|---|---|
static ByteArrayOutputStream
|
new()
初期化を行う |
| メソッドの概要 | |
|---|---|
void
|
close()
ストリームを閉じる |
int
|
getPointer()
現在のファイルポインタを取得する |
void
|
seek(int position)
ファイルポインタを指定した位置に変更する |
string
|
toString()
バイト列を文字列に変換する |
void
|
write(int byte)
指定されたバイト値をストリームに書きこむ |
void
|
write(table array,int startIndex,int length)
指定された配列の、指定した範囲のバイト値をストリームに書きこむ |
| コンストラクタの詳細 |
|---|
public static ByteArrayOutputStream new()
| メソッドの詳細 |
|---|
public void close()
public int getPointer()
public void seek(int position)
position - 新しいポインタ値
public string toString()
public void write(int byte)
byte - 書きこむバイト値
public void write(table array,
int startIndex,
int length)
array - 書きこむバイト列が格納された配列
startIndex - 書き込み開始位置
length - 書き込むバイト値の個数