fileWriteByte

Writes a single byte to a file. Takes a file handle and value (0-255). Returns nothing (void).

File IO

Parameters & Returns

Parameters

fileHandle Int
value Int

Returns

Void

Quick Summary

Writes a single byte to a file. Takes a file handle and value (0-255). Returns nothing (void).

Technical Exegesis...

Writes one unsigned byte (0-255) to the file at the current position and advances the position by 1 byte. Does nothing if the handle is invalid.

The value is truncated to an unsigned char. Use this for writing binary data byte-by-byte or for creating binary file formats.

Example

Example.bam
; No example implemented yet