class

HT2::ZeroCopy::BufferList

Inherits Reference < Object

BufferList manages multiple buffers without copying for stream data accumulation

Constructors

Instance methods

append(data : Bytes) : Nil

Add buffer without copying

Source
clear

Clear all buffers

Source
each

Create iterator for buffers

Source
empty?

Check if empty

Source
read_all(dest : Bytes) : Int32

Read all buffers into destination

Source
size

Get total size of all buffers

Source
write_to(io : IO) : Int32

Write all buffers to IO without copying

Source