template <class BufferT>

class NullByteOrderer

Defined at line 847 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

NullByteOrderer is a pass-through adapter for a byte buffer class. It is

used to implement single-byte bit blocks, where byte order does not matter.

Technically, it should be valid to swap in BigEndianByteOrderer or

LittleEndianByteOrderer anywhere that NullByteOrderer is used, but

NullByteOrderer contains a few extra CHECKs to ensure it is being used

correctly.

Public Methods

void NullByteOrderer<BufferT> ()

Defined at line 852 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

void NullByteOrderer<BufferT> (BufferType buffer)

Defined at line 853 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

void NullByteOrderer<BufferT> (const NullByteOrderer<BufferT> & other)

Defined at line 854 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

void NullByteOrderer<BufferT> (NullByteOrderer<BufferT> && other)

Defined at line 855 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

NullByteOrderer<BufferT> & operator= (const NullByteOrderer<BufferT> & other)

Defined at line 856 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

bool Ok ()

Defined at line 858 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

::std::size_t SizeInBytes ()

Defined at line 859 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

template <::std::size_t kBits>
typename LeastWidthInteger<kBits>::Unsigned ReadUInt ()

Defined at line 862 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

template <::std::size_t kBits>
typename LeastWidthInteger<kBits>::Unsigned UncheckedReadUInt ()

Defined at line 867 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

template <::std::size_t kBits>
void WriteUInt (typename LeastWidthInteger<kBits>::Unsigned value)

Defined at line 872 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h

template <::std::size_t kBits>
void UncheckedWriteUInt (typename LeastWidthInteger<kBits>::Unsigned value)

Defined at line 877 of file ../../third_party/github.com/google/emboss/src/runtime/cpp/emboss_memory_util.h