Updating built in Io code to use += instead of x = x + y
[io/quag.git] / libs / basekit / source / UArray_stream.h
blob639b7f3e6116c611ed75e77cb24b0225294b201e
1 /*
2 copyright: Steve Dekorte, 2006. All rights reserved.
3 license: See _BSDLicense.txt.
4 */
6 // these return item read/written count or -1 on error
8 // read
10 BASEKIT_API size_t UArray_fread_(UArray *self, FILE *fp);
11 BASEKIT_API long UArray_readFromCStream_(UArray *self, FILE *stream);
12 BASEKIT_API long UArray_readFromFilePath_(UArray *self, const UArray *path);
13 BASEKIT_API long UArray_readNumberOfItems_fromCStream_(UArray *self, size_t size, FILE *stream);
14 BASEKIT_API int UArray_readLineFromCStream_(UArray *self, FILE *stream);
16 // write
18 BASEKIT_API size_t UArray_fwrite_(const UArray *self, size_t size, FILE *stream);
19 BASEKIT_API long UArray_writeToCStream_(const UArray *self, FILE *stream);
20 BASEKIT_API long UArray_writeToFilePath_(const UArray *self, const UArray *path);