Interface for an array of bytes. It is expected to be subclassed to implement
resize virtual method using language native array implementation, such as
GLib's GLib.ByteArray, C++'s std::vector<uint8_t> or Rust's Vec<u8>.
resize implementation could allocate more than requested to avoid repeated
reallocations. It can return false, or be set to null, in the case the
array cannot grow.
Interface for an array of bytes. It is expected to be subclassed to implement
resizevirtual method using language native array implementation, such as GLib's GLib.ByteArray, C++'sstd::vector<uint8_t>or Rust'sVec<u8>.resizeimplementation could allocate more than requested to avoid repeated reallocations. It can returnfalse, or be set tonull, in the case the array cannot grow.Since
1.24