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
{{ message }}
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.
This would make it possible to skip copying the entire response buffer in compress.
If the response is closed, then this should throw a StateError; otherwise, the buffer will never be locked (because it's impossible!).
// Skip the copying, and directly set the Uint8List
res.buffer =GZIP.encode(res.buffer.toBytes());
The text was updated successfully, but these errors were encountered:
This would make it possible to skip copying the entire response buffer in
compress
.If the response is closed, then this should throw a
StateError
; otherwise, the buffer will never be locked (because it's impossible!).The text was updated successfully, but these errors were encountered: