class

IO::Memory

Inherits IO / Reference / Object

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

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