Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: TNL::Nonce Struct Reference

# TNL::Nonce Struct Reference

`#include <tnlNonce.h>`

## Public Types

enum | { NonceSize = 8 }

## Public Member Functions

| Nonce ()
| Nonce (const U8 *ptr)
bool | operator== (const Nonce &theOtherNonce) const
bool | operator!= (const Nonce &theOtherNonce) const
void | operator= (const Nonce &theNonce)
void | read (BitStream *stream)
void | write (BitStream *stream) const
void | getRandom ()

## Data Fields

U8 | data [NonceSize]

## Member Enumeration Documentation

anonymous enum

Enumerator:

  NonceSize |

## Constructor & Destructor Documentation

TNL::Nonce::Nonce | ( |  | ) | `[inline]`

TNL::Nonce::Nonce | ( | const U8 * | ptr | ) | `[inline]`

## Member Function Documentation

bool TNL::Nonce::operator== | ( | const Nonce & | theOtherNonce | ) | const`[inline]`

bool TNL::Nonce::operator!= | ( | const Nonce & | theOtherNonce | ) | const`[inline]`

void TNL::Nonce::operator= | ( | const Nonce & | theNonce | ) | `[inline]`

void TNL::Nonce::read | ( | BitStream * | stream | ) | `[inline]`

void TNL::Nonce::write | ( | BitStream * | stream | ) | const`[inline]`

void TNL::Nonce::getRandom | ( |  | ) | `[inline]`

## Field Documentation

U8 TNL::Nonce::data[NonceSize]