BlitzMax/Modules/Streams/Bank streams

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A bank stream allows you to read data into or out of a bank. A bank stream can be used with any of the stream commands, or anywhere a TStream object is expected.

To create a bank stream, use the CreateBankStream command.

As with all streams, you should use CloseStream when you are finished with the bank stream.

Types[edit | edit source]

TBankStream[edit | edit source]

BankStream Object

Functions
  • Create

TBankStream: Functions[edit | edit source]

Create

Function Create:TBankStream( bank:TBank )

Description: Create a bank stream

Returns: A bank stream object

Information: A bank stream allows you to read data into or out of a bank. A bank stream extends a stream so can be used in place of a stream.

Functions[edit | edit source]

CreateBankStream[edit | edit source]

Function CreateBankStream:TBankStream( bank:TBank )

Description: Create a bank stream

Returns: A bank stream object

Information: A bank stream allows you to read data into or out of a bank. A bank stream extends a stream so can be used in place of a stream.