binsbase cuts off filestreams 1 byte to early.
Brought to you by:
dynamite
You shouldn't add the -1 to binsbase::seek(). End should put it past the last byte
http://libbinio.cvs.sourceforge.net/viewvc/libbinio/libbinio/src/binstr.h?revision=1.1&view=markup
Line 38, 49 and 51 is affected by this.
Since i must use binisstream to send the data to adplug, the reported length i put in is 1 byte to small when adplug determines the filesize (through seek() + pos()).
I forgot to log in when i submitted this bug. Commenting in order to recieve updates.