class IO::Memory

Overview

An IO that reads and writes from a buffer in memory.

The internal buffer can be resizeable and/or writeable depending on how an IO::Memory is constructed.

Defined in:

lib/amq-protocol/src/amq/protocol/table.cr
stdlib/io_memory.cr

Instance Method Summary

Instance methods inherited from class IO

skip(bytes_count : Int) : Int64 skip, skip_to_end : Int64 skip_to_end

Class methods inherited from class IO

copy(src, dst, limit : Int) : Int64
copy(src, dst) : Int64
copy

Instance Method Detail

def capacity : Int32 #

[View source]