# Cinder

# cinder::cinder_stream_bidirectional_device Class Reference

`#include <Stream.h>`

List of all members.

## Public Types
typedef char | char_type
typedef boost::iostreams::seekable_device_tag | category
## Public Member Functions
| cinder_stream_bidirectional_device (cinder::IoStreamRef aStream)
std::streamsize | read (char *s, std::streamsize n)
std::streamsize | write (const char *s, std::streamsize n)
boost::iostreams::stream_offset | seek (boost::iostreams::stream_offset off, std::ios_base::seekdir way)
## Protected Attributes
IoStreamRef | mStream

## Member Typedef Documentation

typedef char cinder::cinder_stream_bidirectional_device::char_type

typedef boost::iostreams::seekable_device_tag cinder::cinder_stream_bidirectional_device::category

## Constructor & Destructor Documentation

cinder::cinder_stream_bidirectional_device::cinder_stream_bidirectional_device | ( | cinder::IoStreamRef | aStream | ) |

## Member Function Documentation

std::streamsize cinder::cinder_stream_bidirectional_device::read | ( | char * | s,
|  | std::streamsize | n |
| ) |  |  |

std::streamsize cinder::cinder_stream_bidirectional_device::write | ( | const char * | s,
|  | std::streamsize | n |
| ) |  |  |

boost::iostreams::stream_offset cinder::cinder_stream_bidirectional_device::seek | ( | boost::iostreams::stream_offset | off,
|  | std::ios_base::seekdir | way |
| ) |  |  |

## Member Data Documentation

IoStreamRef cinder::cinder_stream_bidirectional_device::mStream`[protected]`

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

- include/cinder/Stream.h