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:
parent
ee7c2c28f1
commit
eae26f958e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue