|
LPC Library Functions: write_buffer |
NAMEwrite_buffer() - write a buffer to a file, or write into a buffer from a source SYNOPSISint write_buffer( string dest, int start, mixed source ); int write_buffer( buffer buf, int start, mixed source );
DESCRIPTIONIn the first form, write_buffer() writes the content of 'source' to the file named 'dest' starting at destination byte # 'start'. 'source' must be an int, buffer, or a string. Ints will be written to the file in network-byte-order. In the second form, write_buffer() writes the content of 'source' into the buffer 'buf' starting at destination byte # 'start'. 'source' must be an int, buffer, or a string. Ints will be written to the buffer in network-byte-order. This function is only available if the driver flag NO_BUFFER_TYPE is not defined. SEE ALSOread_buffer(), allocate_buffer()
|
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|