![]() |
rotate
1.0
Bit rotator
|
#include <Buffer.h>


Public Member Functions | |
| Buffer (const char *inf, const char *outf) | |
| Buffer (std::string inf, std::string of) | |
| virtual | ~Buffer () |
| Destroy the Buffer object insuring that all memory is whiped clean before exiting. More... | |
| void | rotate_left () |
| Rotate the byte rignt by calling the underlying implimentation. More... | |
| void | rotate_right () |
| Rotate the byte left by calling the underlying implementation. More... | |
| virtual void | init () |
| Initialise the Buffer object. More... | |
| virtual uint8_t | get_next_byte () |
| Get the next byte in the stream as a uint8_t. More... | |
| virtual void | write_next_byte (uint8_t byte) |
| Write the next byte into the stream. More... | |
| virtual void | write_first_byte (uint8_t byte) |
| Write the first byte of the stream, regardless of where we are in the write sequence. More... | |
| virtual unsigned int | get_length () |
| virtual bool | end () |
| Test if we have reached the end of the file. More... | |
Public Member Functions inherited from Base | |
| virtual | ~Base () |
| Buffer | ( | const char * | inf, |
| const char * | outf | ||
| ) |
Definition at line 3 of file Buffer.cpp.
| Buffer | ( | std::string | inf, |
| std::string | of | ||
| ) |
Definition at line 8 of file Buffer.cpp.
|
virtual |
Destroy the Buffer object insuring that all memory is whiped clean before exiting.
Definition at line 18 of file Buffer.cpp.
|
virtual |
Test if we have reached the end of the file.
Implements Base.
Definition at line 91 of file Buffer.cpp.
|
inlinevirtual |
|
virtual |
Get the next byte in the stream as a uint8_t.
Implements Base.
Definition at line 52 of file Buffer.cpp.
|
virtual |
Initialise the Buffer object.
Implements Base.
Definition at line 36 of file Buffer.cpp.

|
virtual |
Rotate the byte rignt by calling the underlying implimentation.
Reimplemented from Base.
Definition at line 101 of file Buffer.cpp.


|
virtual |
Rotate the byte left by calling the underlying implementation.
Reimplemented from Base.
Definition at line 110 of file Buffer.cpp.

|
virtual |
Write the first byte of the stream, regardless of where we are in the write sequence.
| byte |
Implements Base.
Definition at line 78 of file Buffer.cpp.
|
virtual |
Write the next byte into the stream.
| byte |
Implements Base.
Definition at line 66 of file Buffer.cpp.