ArcBasicDocs

CreateBank

Creates a memory bank.

CreateBank ( [size] )

Parameters

size (optional)
how many bytes it holds. It can be 0 and grown later with ResizeBank.

Description

Creates a bank, a block of memory for raw bytes, and gives back its handle. Every byte starts at zero. Banks hold data in a compact form: a level map, a packet to send over the network, or bytes read straight from a file.

See also