class IO::Buffer - Documentation for Ruby 4.1

output. new, fill it with buffer using #copy or #set_value, #set_string, get buffer with #get_string or write it directly to some file with #write