It's not valid to use the buffer's data without ensuring that the buffer contains enough data.
Attach a file by drag & drop or click to upload