Skip to main content

write_bytes

Discworld driver help

write_bytes

Name

write_bytes() - writes a contiguous series of bytes to a file

Synopsis

int write_bytes( string path, int start, string series );

Description

This function writes the bytes in `series' into the file named by `path' beginning at byte # `start'. It returns zero (0) upon failure, 1 otherwise.

See also

write_file(), read_bytes()