My understanding was that buffer.length was just the size of the buffer, you can't change it