unpack.h 344 B

1234567891011
  1. #ifndef HV_UNPACK_H_
  2. #define HV_UNPACK_H_
  3. #include "hloop.h"
  4. int hio_unpack(hio_t* io, void* buf, int readbytes);
  5. int hio_unpack_by_fixed_length(hio_t* io, void* buf, int readbytes);
  6. int hio_unpack_by_delimiter(hio_t* io, void* buf, int readbytes);
  7. int hio_unpack_by_length_field(hio_t* io, void* buf, int readbytes);
  8. #endif // HV_UNPACK_H_