api gives proper detection for too small buffer. Thanks to Ross for pointing this out.
Attach a file by drag & drop or click to upload