Crypto++ 8.7
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...

#include <misc.h>

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
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 2843 of file misc.h.

Member Typedef Documentation

◆ Put

template<class T , class B , bool GA = false, bool PA = false>
typedef PutBlock<T, B, PA> BlockGetAndPut< T, B, GA, PA >::Put

Definition at line 2847 of file misc.h.

Member Function Documentation

◆ Get()

template<class T , class B , bool GA = false, bool PA = false>
static GetBlock< T, B, GA > BlockGetAndPut< T, B, GA, PA >::Get ( const void *  block)
inlinestatic

Definition at line 2846 of file misc.h.


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