String to Stream?

BlitzMax Forums/BlitzMax Programming/String to Stream?

BLaBZ(Posted 2013) [#1]
Is it possible to convert a string into a stream?

I'd like to OpenStream and read something memory.


xlsior(Posted 2013) [#2]
Banks.

A bank is an allocated block of memory that you can read/write to directly.


BLaBZ(Posted 2013) [#3]
Boom! Thanks :)

Local b:TBank = LoadBank("test.txt")

Local st:TStream = CreateBankStream(b)

While Not Eof(st)
	Print ReadLine(st)
Wend