botan.utils.loadstor

Load/Store Operators

Members

Functions

loadBigEndian
T loadBigEndian(const(ubyte)* input, size_t off)

Load a big-endian word

loadBigEndian
ushort loadBigEndian(const(ubyte)* input, size_t off)

Load a big-endian ushort

loadBigEndian
uint loadBigEndian(const(ubyte)* input, size_t off)

Load a big-endian uint

loadBigEndian
ulong loadBigEndian(const(ubyte)* input, size_t off)

Load a big-endian ulong

loadBigEndian
void loadBigEndian(const(ubyte)* input, T x0, T x1)

Load two big-endian words

loadBigEndian
void loadBigEndian(const(ubyte)* input, T x0, T x1, T x2, T x3)

Load four big-endian words

loadBigEndian
void loadBigEndian(const(ubyte)* input, T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)

Load eight big-endian words

loadBigEndian
void loadBigEndian(T* output, const(ubyte)* input, size_t count)

Load a variable number of big-endian words

loadLittleEndian
T loadLittleEndian(const(ubyte)* input, size_t off)

Load a little-endian word

loadLittleEndian
ushort loadLittleEndian(const(ubyte)* input, size_t off)

Load a little-endian ushort

loadLittleEndian
uint loadLittleEndian(const(ubyte)* input, size_t off)

Load a little-endian uint

loadLittleEndian
ulong loadLittleEndian(const(ubyte)* input, size_t off)

Load a little-endian ulong

loadLittleEndian
void loadLittleEndian(const(ubyte)* input, T x0, T x1)

Load two little-endian words

loadLittleEndian
void loadLittleEndian(const(ubyte)* input, T x0, T x1, T x2, T x3)

Load four little-endian words

loadLittleEndian
void loadLittleEndian(const(ubyte)* input, T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)

Load eight little-endian words

loadLittleEndian
void loadLittleEndian(T* output, const(ubyte)* input, size_t count)

Load a variable number of little-endian words

make_uint
uint make_uint(ubyte i0, ubyte i1, ubyte i2, ubyte i3)

Make a uint from four bytes

make_ulong
ulong make_ulong(ubyte i0, ubyte i1, ubyte i2, ubyte i3, ubyte i4, ubyte i5, ubyte i6, ubyte i7)

Make a ulong from eight bytes

make_ushort
ushort make_ushort(ubyte i0, ubyte i1)

Make a ushort from two bytes

storeBigEndian
void storeBigEndian(ushort input, ubyte[2]* output)

Store a big-endian ushort

storeBigEndian
void storeBigEndian(uint input, ubyte[4]* output)

Store a big-endian uint

storeBigEndian
void storeBigEndian(ulong input, ubyte[8]* output)

Store a big-endian ulong

storeBigEndian
void storeBigEndian(T input, ubyte* output)

Store a big-endian ulong

storeBigEndian
void storeBigEndian(ubyte* output, T x0, T x1)

Store two big-endian words

storeBigEndian
void storeBigEndian(ubyte* output, T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)

Store eight big-endian words

storeBigEndian
void storeBigEndian(ubyte* output, T x0, T x1, T x2, T x3)

Store four big-endian words

storeLittleEndian
void storeLittleEndian(ushort input, ubyte[2]* output)

Store a little-endian ushort

storeLittleEndian
void storeLittleEndian(uint input, ubyte[4]* output)

Store a little-endian uint

storeLittleEndian
void storeLittleEndian(ulong input, ubyte[8]* output)

Store a little-endian ulong

storeLittleEndian
void storeLittleEndian(T input, ubyte* output)

Store a little-endian ulong

storeLittleEndian
void storeLittleEndian(ubyte* output, T x0, T x1)

Store two little-endian words

storeLittleEndian
void storeLittleEndian(ubyte* output, T x0, T x1, T x2, T x3)

Store four little-endian words

storeLittleEndian
void storeLittleEndian(ubyte* output, T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)

Store eight little-endian words

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)