G
Guest
The Binarywriter appends an extra carriage return at the end. Is there a way
to supress that?
string file = @"c:\temp\binary.txt";
FileStream fs= new FileStream(file,
FileMode.Create, FileAccess.Write, FileShare.None);
BinaryWriter bw = new BinaryWriter(fs);
bw.Write("BINARY PLEASE");
bw.Flush();
bw.Close();
to supress that?
string file = @"c:\temp\binary.txt";
FileStream fs= new FileStream(file,
FileMode.Create, FileAccess.Write, FileShare.None);
BinaryWriter bw = new BinaryWriter(fs);
bw.Write("BINARY PLEASE");
bw.Flush();
bw.Close();