2 #ifndef vsl_block_binary_io_h_ 3 #define vsl_block_binary_io_h_ 221 #if VXL_HAS_INT_64 && !VXL_INT_64_IS_LONG 265 #endif //VXL_HAS_INT_64 && !VXL_INT_64_IS_LONG 339 #endif // vsl_block_binary_io_h_ A binary output adaptor for any std::ostream.
void vsl_b_write(vsl_b_ostream &os, char n)
Write char to vsl_b_ostream.
void vsl_block_binary_write_int_impl(vsl_b_ostream &os, const T *begin, std::size_t nelems)
Write a block of signed ints to a vsl_b_ostream.
void vsl_block_binary_read(vsl_b_istream &is, T *begin, std::size_t nelems)
Read a block of values from a vsl_b_ostream, potentially very efficiently for fundamental types.
Byte-swapping, arbitrary length integer conversion, and explicit I/O.
void vsl_block_binary_write_float_impl(vsl_b_ostream &os, const T *begin, std::size_t nelems)
Write a block of floats to a vsl_b_ostream.
void vsl_block_binary_read_byte_impl(vsl_b_istream &is, T *begin, std::size_t nelems)
Read a block of bytes from a vsl_b_ostream.
void vsl_b_read(vsl_b_istream &is, char &n)
Read char from vsl_b_istream.
void vsl_block_binary_write_byte_impl(vsl_b_ostream &os, const T *begin, std::size_t nelems)
Write a block of bytes to a vsl_b_ostream.
An adaptor for any std::istream to make it suitable for binary input.
void vsl_block_binary_write(vsl_b_ostream &os, const T *begin, std::size_t nelems)
Write a block of values to a vsl_b_ostream, potentially very efficiently for fundamental types.
void vsl_block_binary_read_confirm_specialisation(vsl_b_istream &is, bool specialised)
Error checking.
Set of functions, and objects to perform binary IO.
void vsl_block_binary_read_int_impl(vsl_b_istream &is, T *begin, std::size_t nelems)
Read a block of signed ints from a vsl_b_istream.
void vsl_block_binary_read_float_impl(vsl_b_istream &is, T *begin, std::size_t nelems)
Read a block of floats from a vsl_b_ostream.