BlitzMax/Modules/Streams/Ram streams

=Functions=

CreateRamStream
Function CreateRamStream:TRamStream( ram:Byte Ptr,size,readable,writeable )

Description: Create a ram stream

Returns: A ram stream object

Information: A ram stream allows you to read and/or write data directly from/to memory. A ram stream extends a stream object so can be used anywhere a stream is expected.

Be careful when working with ram streams, as any attempt to access memory which has not been allocated to your application can result in a runtime crash.