HT2::ZeroCopy
Provides zero-copy frame forwarding capabilities by minimizing data copies during frame serialization and transmission.
Class methods
forward_data_frame(data : Bytes, flags : FrameFlags, io : IO, stream_id : UInt32) : Nil
Optimized DATA frame forwarding that avoids payload copying
write_frame(frame : Frame, io : IO) : Nil
Writes frame header and payload without intermediate copying
write_frame_with_buffer(frame : Frame, io : IO, header_buffer : Bytes) : Nil
Writes frame using provided header buffer to avoid allocation