#include <swapframe.hh>
Public Member Functions | |
| SwapFrame (void) | |
| Constructor. | |
| ~SwapFrame (void) | |
| Destructor. | |
| void | Swap (char *p, int len) |
| Swap the frame. | |
FrameF class. | SwapFrame::SwapFrame | ( | void | ) |
Constructor.
Construct a frame swapper. Determine the hardware byte ordering at run-time.
| SwapFrame::~SwapFrame | ( | void | ) |
Destructor.
Destroy a frame swapper.
| void SwapFrame::Swap | ( | char * | p, | |
| int | len | |||
| ) |
Swap the frame.
Swap the frame contents.
| p | Pointer to an in-memory frame. | |
| len | Length of in-memory frame. |
1.5.4