11#ifndef __BE_MEMORY_MUTABLEINDEXEDBUFFER__
12#define __BE_MEMORY_MUTABLEINDEXEDBUFFER__
190 virtual const uint8_t*
204 uint8_t *_mutableData;
Wrap a memory buffer with an index.
Mutable version of an IndexedBuffer.
uint64_t pushU64Val(uint64_t val)
Push eight elements into the managed buffer at the current index, incrementing the index.
uint32_t pushBeU32Val(uint32_t val)
Push four elements into the managed buffer at the current index as a big endian value,...
MutableIndexedBuffer(const MutableIndexedBuffer ©)=default
Copy constructor (default).
uint16_t pushU16Val(uint16_t val)
Push two elements into the managed buffer at the current index, incrementing the index.
uint32_t pushU32Val(uint32_t val)
Push four elements into the managed buffer at the current index, incrementing the index.
uint64_t push(const void *buf, uint64_t len)
Push elements into the buffer, inreasing the index.
uint8_t pushU8Val(uint8_t val)
Push an element into the managed buffer at the current index, incrementing the index.
uint16_t pushBeU16Val(uint16_t val)
Push two elements into the managed buffer at the current index as a big endian value,...
MutableIndexedBuffer(uint8Array &aa)
Wrap an existing uint8Array.
virtual ~MutableIndexedBuffer()=default
Destructor (default).
MutableIndexedBuffer(uint8_t *data, uint64_t size)
Wrap an existing buffer of a given length.
virtual const uint8_t * get() const
Returns a pointer to the managed buffer.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...