#include <envelopes.h>
Variable-width rectangular sum.
Methods | |
| BoxSum (int maxLength) | |
| void | resize (int maxLength) |
| Sets the maximum size (and reset contents) | |
| void | reset (Sample value=Sample()) |
| Resets (with an optional "fill" value) | |
| Sample | read (int width) |
| void | write (Sample value) |
| Sample | readWrite (Sample value, int width) |
|
inline |
Resets (with an optional "fill" value)
|
inline |
Sets the maximum size (and reset contents)