2#ifndef ZIPIOS_COMMON_HPP 
    3#define ZIPIOS_COMMON_HPP 
   39#if defined( ZIPIOS_WINDOWS ) 
   40typedef int32_t ssize_t;
 
   75void operator += (std::vector<Type> & v1, std::vector<Type> 
const & v2)
 
   82        v1.reserve(v1.size() + v2.size());
 
   83        v1.insert(v1.end(), v2.begin(), v2.end());
 
 
  101void     zipRead(std::istream & is, uint32_t & value);
 
  102void     zipRead(std::istream & is, uint16_t & value);
 
  103void     zipRead(std::istream & is, uint8_t &  value);
 
  104void     zipRead(std::istream & is, 
buffer_t & buffer, ssize_t 
const count);
 
  105void     zipRead(std::istream & is, std::string & str, ssize_t 
const count);
 
  111void     zipRead(
buffer_t const & is, 
size_t & pos, std::string & str, ssize_t 
const count);
 
  113void     zipWrite(std::ostream & os, uint32_t 
const & value);
 
  114void     zipWrite(std::ostream & os, uint16_t 
const & value);
 
  115void     zipWrite(std::ostream & os, uint8_t 
const &  value);
 
  117void     zipWrite(std::ostream & os, std::string 
const & str);
 
The zipios namespace includes the Zipios library definitions.
void zipRead(std::istream &is, uint32_t &value)
std::vector< unsigned char > buffer_t
A buffer of characters.
char const g_separator
The character used as the filename separator.
void zipWrite(std::ostream &os, uint32_t const &value)
std::ostringstream OutputStringStream
An output stream using strings.
zipios configuration header.
void operator+=(std::vector< Type > &v1, std::vector< Type > const &v2)
Concatenate two vectors together.