<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Crypto++: BlockGetAndPut< T, B, GA, PA > Struct Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Crypto++  <span id="projectnumber">7.0</span> </div> <div id="projectbrief">Free C++ class library of cryptographic schemes</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="struct_block_get_and_put-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">BlockGetAndPut< T, B, GA, PA > Struct Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>Access a block of memory. <a href="struct_block_get_and_put.html#details">More...</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a63d96a17e8118407e02896d0b0f8d92d"><td class="memItemLeft" align="right" valign="top"><a id="a63d96a17e8118407e02896d0b0f8d92d"></a> typedef <a class="el" href="class_put_block.html">PutBlock</a>< T, B, PA > </td><td class="memItemRight" valign="bottom"><b>Put</b></td></tr> <tr class="separator:a63d96a17e8118407e02896d0b0f8d92d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a07781cc0817613fe47e8070999cf4b95"><td class="memItemLeft" align="right" valign="top"><a id="a07781cc0817613fe47e8070999cf4b95"></a> static <a class="el" href="class_get_block.html">GetBlock</a>< T, B, GA > </td><td class="memItemRight" valign="bottom"><b>Get</b> (const void *block)</td></tr> <tr class="separator:a07781cc0817613fe47e8070999cf4b95"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class T, class B, bool GA = false, bool PA = false><br /> struct BlockGetAndPut< T, B, GA, PA ></h3> <p>Access a block of memory. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">T</td><td>class or type </td></tr> <tr><td class="paramname">B</td><td>enumeration indicating endianness </td></tr> <tr><td class="paramname">GA</td><td>flag indicating alignment for the Get operation </td></tr> <tr><td class="paramname">PA</td><td>flag indicating alignment for the Put operation</td></tr> </table> </dd> </dl> <p><a class="el" href="class_get_block.html" title="Access a block of memory. ">GetBlock()</a> 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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_get_block.html" title="Access a block of memory. ">GetBlock()</a> and <a class="el" href="class_put_block.html" title="Access a block of memory. ">PutBlock()</a>. </dd></dl> <p class="definition">Definition at line <a class="el" href="misc_8h_source.html#l02402">2402</a> of file <a class="el" href="misc_8h_source.html">misc.h</a>.</p> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="misc_8h_source.html">misc.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:17 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>