ファイルへの出力ストリーム
コンストラクタの概要 | |
---|---|
static FileOutputStream
|
new(string path)
初期化を行う |
メソッドの概要 | |
---|---|
void
|
close()
ストリームを閉じる |
int
|
getPointer()
現在のファイルポインタを取得する |
void
|
seek(int position)
ファイルポインタを指定した位置に移動する |
void
|
write(int byte)
指定されたバイト値をストリームに書きこむ |
void
|
write(table<int> array,int startIndex,int length)
指定された配列の、指定した範囲のバイト値をストリームに書きこむ |
コンストラクタの詳細 |
---|
public static FileOutputStream new(string path)
path
- ファイルのパス
メソッドの詳細 |
---|
public void close()
public int getPointer()
public void seek(int position)
position
- ファイルポインタ
public void write(int byte)
byte
- 書きこむバイト値
public void write(table<int> array, int startIndex, int length)
array
- 書きこむバイト列が格納された配列
startIndex
- 書き込み開始位置
length
- 書き込むバイト値の個数