Buffer.length

Resizes buffer and allows memory stomping

  1. size_t length()
  2. void length(size_t new_length)
    struct Buffer(T)
    void
    length
    (
    size_t new_length
    )

Parameters

new_length size_t

length to resize to

Meta