I can't use readbytes() to byte* buffer

The reference page is buggy - they should always provide tested example code!!