You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ran into "BUFFER_SHORTAGE" errors due to what ended up being an encoding problem on my end. My suggestion is that "BUFFER_SHORTAGE" is perhaps not a correctly descriptive error message. I would recommend something like "BUFFER_TOO_SHORT" instead, since "BUFFER_SHORTAGE" make it sound like something is having trouble allocating a buffer, due to memory constraints, or something. You don't have a shortage of buffers in this case - you have a buffer that is too short.
It's been a while, but iirc, I was encoding the object somewhere, and that wasn't working right, resulting in a zero length buffer, which caused the error when I tried to decode it.
I recently ran into "BUFFER_SHORTAGE" errors due to what ended up being an encoding problem on my end. My suggestion is that "BUFFER_SHORTAGE" is perhaps not a correctly descriptive error message. I would recommend something like "BUFFER_TOO_SHORT" instead, since "BUFFER_SHORTAGE" make it sound like something is having trouble allocating a buffer, due to memory constraints, or something. You don't have a shortage of buffers in this case - you have a buffer that is too short.
Originally posted by @jvsteiner in #60 (comment)
The text was updated successfully, but these errors were encountered: