BinaryToTextInputStream< BinaryInputStreamType > Class Template Reference

A binary-to-text wrapper around an InputStream. Converts CRLF or LFCR line-endings to LF line-endings. More...

#include <archivelib.h>

Inheritance diagram for BinaryToTextInputStream< BinaryInputStreamType >:
Inheritance graph
[legend]
Collaboration diagram for BinaryToTextInputStream< BinaryInputStreamType >:
Collaboration graph
[legend]

Public Member Functions

 BinaryToTextInputStream (BinaryInputStreamType &inputStream)
std::size_t read (char *buffer, std::size_t length)

Private Attributes

SingleByteInputStream
< BinaryInputStreamType > 
m_inputStream

Detailed Description

template<typename BinaryInputStreamType>
class BinaryToTextInputStream< BinaryInputStreamType >

A binary-to-text wrapper around an InputStream. Converts CRLF or LFCR line-endings to LF line-endings.

Definition at line 75 of file archivelib.h.


Constructor & Destructor Documentation

template<typename BinaryInputStreamType>
BinaryToTextInputStream< BinaryInputStreamType >::BinaryToTextInputStream ( BinaryInputStreamType &  inputStream  )  [inline]

Definition at line 79 of file archivelib.h.


Member Function Documentation

template<typename BinaryInputStreamType>
std::size_t BinaryToTextInputStream< BinaryInputStreamType >::read ( char *  buffer,
std::size_t  length 
) [inline]

Definition at line 83 of file archivelib.h.


Field Documentation

template<typename BinaryInputStreamType>
SingleByteInputStream<BinaryInputStreamType> BinaryToTextInputStream< BinaryInputStreamType >::m_inputStream [private]

Definition at line 77 of file archivelib.h.

Referenced by BinaryToTextInputStream< DeflatedInputStream >::read().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2