rotate  1.0
Bit rotator
ArrayBuff Class Reference

#include <ArrayBuffer.h>

Inheritance diagram for ArrayBuff:
Collaboration diagram for ArrayBuff:

Public Member Functions

virtual ~ArrayBuff ()
 
 ArrayBuff (uint8_t *ar, unsigned int size)
 
 ArrayBuff (std::vector< uint8_t > ar)
 
virtual void init ()
 
virtual uint8_t get_next_byte ()
 
virtual void write_next_byte (uint8_t byte)
 
virtual void write_first_byte (uint8_t byte)
 
virtual unsigned int get_length ()
 
virtual void rotate_left ()
 Implement the rotation algorithm that all derived classes will use. More...
 
virtual void rotate_right ()
 Implement the rotate right algorithm that all derived classes wil use. More...
 
virtual bool end ()
 
uint8_t get_rotate_byte ()
 
std::vector< uint8_t > get_buffer_vector ()
 
uint8_t * get_output ()
 
uint8_t * get_source ()
 
unsigned int size ()
 

Detailed Description

Definition at line 20 of file ArrayBuffer.h.

Constructor & Destructor Documentation

◆ ~ArrayBuff()

virtual ~ArrayBuff ( )
inlinevirtual

Definition at line 22 of file ArrayBuffer.h.

◆ ArrayBuff() [1/2]

ArrayBuff ( uint8_t *  ar,
unsigned int  size 
)
inline

Definition at line 30 of file ArrayBuffer.h.

Here is the call graph for this function:

◆ ArrayBuff() [2/2]

ArrayBuff ( std::vector< uint8_t >  ar)
inline

Definition at line 39 of file ArrayBuffer.h.

Member Function Documentation

◆ end()

virtual bool end ( )
inlinevirtual

Implements Base.

Definition at line 86 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ get_buffer_vector()

std::vector<uint8_t> get_buffer_vector ( )
inline

Definition at line 94 of file ArrayBuffer.h.

◆ get_length()

virtual unsigned int get_length ( )
inlinevirtual

Implements Base.

Definition at line 74 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ get_next_byte()

virtual uint8_t get_next_byte ( )
inlinevirtual

Implements Base.

Definition at line 57 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ get_output()

uint8_t* get_output ( )
inline

Definition at line 104 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ get_rotate_byte()

uint8_t get_rotate_byte ( )
inline

Definition at line 90 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ get_source()

uint8_t* get_source ( )
inline

Definition at line 108 of file ArrayBuffer.h.

◆ init()

virtual void init ( )
inlinevirtual

Implements Base.

Definition at line 52 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ rotate_left()

virtual void rotate_left ( )
inlinevirtual

Implement the rotation algorithm that all derived classes will use.

Reimplemented from Base.

Definition at line 78 of file ArrayBuffer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rotate_right()

virtual void rotate_right ( )
inlinevirtual

Implement the rotate right algorithm that all derived classes wil use.

Reimplemented from Base.

Definition at line 82 of file ArrayBuffer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

unsigned int size ( )
inline

Definition at line 112 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ write_first_byte()

virtual void write_first_byte ( uint8_t  byte)
inlinevirtual

Implements Base.

Definition at line 70 of file ArrayBuffer.h.

Here is the caller graph for this function:

◆ write_next_byte()

virtual void write_next_byte ( uint8_t  byte)
inlinevirtual

Implements Base.

Definition at line 66 of file ArrayBuffer.h.

Here is the caller graph for this function:

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