func_streams_createramstream.rst 674 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_streams_createramstream:
  2. ===============
  3. CreateRamStream
  4. ===============
  5. CreateRamStream -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CreateRamStream:TRamStream( ram:Byte Ptr,size,readable,writeable )
  10. Create a ram stream
  11. A ram stream allows you to read and/or write data directly from/to memory.
  12. A ram stream extends a stream object so can be used anywhere a stream is expected.
  13. Be careful when working with ram streams, as any attempt to access memory
  14. which has not been allocated to your application can result in a runtime crash.
  15. Parameters
  16. ==========
  17. Return Values
  18. =============
  19. A ram stream object
  20. Examples
  21. ========
  22. See Also
  23. ========