WriteBytes
Previous  Next

Writes an array of Bytes to the file.
Syntax: WriteBytes (buffer As Byte())
Example:
Sub Globals
      Dim buffer(4096) As Byte
End Sub

Sub App_Start
      FileOpen(c1,"data.dat",cRandom)
      bin.New1(c1,true)
      bin.WriteBytes(buffer())
      FileClose(c1)
End Sub