Hi,
RamStream is pretty low level, and in there mainly to support 'incbin::'.
For streaming in/out of banks, use a BankStream instead. It will automatically grow the bank for you when writing and will ensure you don't read/write outside the limits of the bank.
RamStream is pretty low level, and in there mainly to support 'incbin::'.
For streaming in/out of banks, use a BankStream instead. It will automatically grow the bank for you when writing and will ensure you don't read/write outside the limits of the bank.