2 functions were added, to fasten buffer transfers:

void cio_read_to_buf(unsigned char* buf, int n)
void cio_write_from_buf(unsigned char* buf, int n)
This commit is contained in:
Francois-Olivier Devaux 2005-05-23 15:25:48 +00:00
parent ee7c2c28f1
commit eae26f958e
1 changed files with 10 additions and 0 deletions

View File

@ -94,4 +94,14 @@ unsigned int cio_read(int n);
*/
void cio_skip(int n);
/*
* Read n bytes, copy to buffer
*/
void cio_read_to_buf(unsigned char* buf, int n);/* Glenn Pearson adds */
/*
* Write n bytes, copy from buffer
*/
void cio_write_from_buf(unsigned char* buf, int n);/* Glenn Pearson adds */
#endif