Undocumented class. More...
Inherits BDataIO.
Public Member Functions | |
| BBufferedDataIO (BDataIO &stream, size_t bufferSize=65536L, bool ownsStream=true, bool partialReads=false) | |
| Undocumented public method. | |
| virtual | ~BBufferedDataIO () |
| Undocumented public method. | |
| size_t | BufferSize () const |
| Undocumented public method. | |
| status_t | Flush () |
| Undocumented public method. | |
| status_t | InitCheck () const |
| Undocumented public method. | |
| bool | OwnsStream () const |
| Undocumented public method. | |
| virtual ssize_t | Read (void *buffer, size_t size) |
| Undocumented public method. | |
| void | SetOwnsStream (bool ownsStream) |
| Undocumented public method. | |
| BDataIO * | Stream () const |
| Undocumented public method. | |
| virtual ssize_t | Write (const void *buffer, size_t size) |
| Undocumented public method. | |
Public Member Functions inherited from BDataIO | |
| BDataIO () | |
| This constructor does nothing. | |
| virtual | ~BDataIO () |
| This destructor does nothing. | |
| virtual status_t | Flush () |
| Writes pending data to underlying storage. | |
| virtual ssize_t | Read (void *buffer, size_t size) |
| Reads data from the object into a buffer. | |
| status_t | ReadExactly (void *buffer, size_t size, size_t *_bytesRead=NULL) |
| Reads an exact amount of data from the object into a buffer. | |
| virtual ssize_t | Write (const void *buffer, size_t size) |
| Writes data from a buffer to the object. | |
| status_t | WriteExactly (const void *buffer, size_t size, size_t *_bytesWritten=NULL) |
| Writes an exact amount of data from a buffer to the object. | |
Undocumented class.
| BBufferedDataIO::BBufferedDataIO | ( | BDataIO & | stream, |
| size_t | bufferSize = 65536L, |
||
| bool | ownsStream = true, |
||
| bool | partialReads = false |
||
| ) |
Undocumented public method.
| stream | Undocumented |
| bufferSize | Undocumented |
| ownsStream | Undocumented |
| partialReads | Undocumented |
|
virtual |
Undocumented public method.
| size_t BBufferedDataIO::BufferSize | ( | ) | const |
Undocumented public method.
| <value> | Undocumented |
|
virtual |
Undocumented public method.
| <value> | Undocumented |
Reimplemented from BDataIO.
| status_t BBufferedDataIO::InitCheck | ( | ) | const |
Undocumented public method.
| <value> | Undocumented |
| bool BBufferedDataIO::OwnsStream | ( | ) | const |
Undocumented public method.
| <value> | Undocumented |
|
virtual |
Undocumented public method.
| buffer | Undocumented |
| size | Undocumented |
| <value> | Undocumented |
Reimplemented from BDataIO.
| void BBufferedDataIO::SetOwnsStream | ( | bool | ownsStream | ) |
Undocumented public method.
| ownsStream | Undocumented |
| BDataIO * BBufferedDataIO::Stream | ( | ) | const |
Undocumented public method.
| <value> | Undocumented |
|
virtual |
Undocumented public method.
| buffer | Undocumented |
| size | Undocumented |
| <value> | Undocumented |
Reimplemented from BDataIO.