file.write
- method uint file.write( uint data, uint size )
- method uint file.write( buf rbuf )
- method uint file.writepos( uint pos, uint data, uint size )
Writing to a file.
method uint file.write (
uint data,
uint size
)
uint data,
uint size
)
Parameters
data | The pointer to the memory which data will be written. |
size | The size of the data being written. |
Return value
The function returns the size of the written data.
file.write
Writing to a file.
method uint file.write (
buf rbuf
)
buf rbuf
)
Parameters
rbuf | The buffer from which data will be written. |
Return value
The function returns the size of the written data.
file.writepos
Writing to a file from the position.
method uint file.writepos (
uint pos,
uint data,
uint size
)
uint pos,
uint data,
uint size
)
Parameters
pos | The start position for writing. |
data | The pointer to the memory which data will be written. |
size | The size of the data being written. |
Return value
The function returns the size of the written data.
Related links | Source |