SimpleBuffer
固定バッファ長の配列クラス
最終更新
SimpleBuffer()
SimpleBuffer(T* p, uint16_t u16len, uint16_t u16maxlen)
SimpleBuffer(uint16_t u16maxlen)SimpleBuffer(const SimpleBuffer<T>& ref)
SimpleBuffer<T>& operator = (const SimpleBuffer<T>& ref)void attach(T* p, uint16_t l, uint16_t lm)SimpleBuffer<uint8_t> buf(128), buf_sub;
buf_sub = buf;
buf_sub.attach(buf.begin() + 16, 0, buf.max_length() - 16);T* begin()
T* end()bool append(T c)
void push_back(T c) { append(c); }uint16_t length()
uint16_t size() { return length(); }
uint16_t length_max()
uint16_t capacity() { return length_max(); }bool redim(uint16_t len)
bool reserve(uint16_t len) { return redim(len); }inline T& operator [] (int i)