Buffers.this
- this(size_t _chunk_length, size_t _max_chunk, bool _use_secure_mem, bool _zeroize_on_free)
- this(size_t _chunk_length, size_t _max_chunk, size_t _offset, bool _use_secure_mem, bool _zeroize_on_free)
- this(size_t _chunk_length, size_t _max_chunk, size_t _chunk_keep, size_t _offset, bool _use_secure_mem, bool _zeroize_on_free)
- this(ubyte[] buf)
libhttp2 buffers Buffers
classesconstructorsdestructorsfunctionspropertiesvariables
Initializes Buffers. Each buffer size is given in the |chunk_length|. The maximum number of buffers is given in the |max_chunk|. On reset, first |chunk_keep| buffers are kept and remaining buffers are deleted. Each buffer will have bufs.pos and bufs.last shifted to left by |offset| bytes on creation and reset.
This function allocates first buffer. bufs.head and bufs.cur will point to the first buffer after this call.