c# を使用してバイナリ ファイルを作成しました: 使用したコードは次のとおりです。
try
{
Console.WriteLine("Binary Writer");
using (BinaryWriter b = new BinaryWriter(File.Open("C:\\file.bin",FileMode.Create)))
{
b.Write("world");
b.Write("god");
b.Write("its cool");
b.Write("1000");
b.Flush();
}
}
catch (IOException ioexp)
{
Console.WriteLine("Error: {0}", ioexp.Message);
}
}
私が見た出力ファイルには-
世界(SOMETHING HERE)神(SOMETHING HERE)クール(SOMETHING HERE)1000
バイナリ形式である必要はありませんか?