Skip to content
instance method

IO::Buffer#size

() -> ::Integer
size → integer

Returns the size of the buffer that was explicitly set (on creation with ::new or on resize), or deduced on buffer’s creation from string or file.

See also #shared? #slice #set_values #to_s also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1