Crypto++ 8.0 Free C++ class library of cryptographic schemes

Public Types | Static Public Member Functions | List of all members
BlockGetAndPut< T, B, GA, PA > Struct 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>
struct BlockGetAndPut< T, B, GA, PA >

Access a block of memory.

Template Parameters

  T | class or type
  B | enumeration indicating endianness
  GA | flag indicating alignment for the Get operation
  PA | flag 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 2500 of file misc.h.

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

- misc.h