Skip to content
instance method

IO::Buffer#<=>

(::IO::Buffer) -> ::Integer
<=>(other) → true or false

Buffers are compared by size and exact contents of the memory they are referencing using memcmp.

See also #& #^ .string #| also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1