class NIO::ByteBuffer

def inspect

Returns:
  • (String) - string describing the state of the buffer
def inspect
  format(
    "#<%s:0x%x @position=%d @limit=%d @capacity=%d>",
    self.class,
    object_id << 1,
    @position,
    @limit,
    @capacity
  )
end