Generic writable stream?

BlitzMax Forums/BlitzMax Programming/Generic writable stream?

JoshK(Posted 2007) [#1]
I want to create a generic stream for reading and writing. This will never be saved on the hard drive as a file. What should I use?


N(Posted 2007) [#2]
Could create a TBankStream. Lets you read/write to a bank using the stream class.


JoshK(Posted 2007) [#3]
But that is a fixed length.


grable(Posted 2007) [#4]
Take this then ;) i havent fully tested this though.. it was something i had lying around.



Koriolis(Posted 2007) [#5]
As far as I remember TBankStream is not fixed length. Just pass Null to CreateBankStream.