Crypto++  5.6.5
Free C++ class library of cryptographic schemes
Public Types | Static Public Member Functions | List of all members
BlockGetAndPut< T, B, GA, PA > Class Template Reference

Access a block of memory. More...

Public Types

typedef PutBlock< T, B, PA > Put

Static Public Member Functions

static GetBlock< T, B, GA > Get (const void *block)

Detailed Description

template<class T, class B, bool GA = false, bool PA = false>
class BlockGetAndPut< T, B, GA, PA >

Access a block of memory.

Template Parameters
Tclass or type
Benumeration indicating endianness
GAflag indicating alignment for the Get operation
PAflag indicating alignment for the Put operation

GetBlock() provides alternate write access to a block of memory. The enumeration B is BigEndian or LittleEndian. The flag A indicates if the memory block is aligned for class or type T.

See also
GetBlock() and PutBlock().

Definition at line 2403 of file misc.h.

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