bpool implements leaky pools of byte arrays and Buffers as bounded
channels.
.
A common use case for this package is to use buffers to execute HTML templates
against (via ExecuteTemplate) or encode JSON into (via json.NewEncoder). This
allows you to catch any rendering or marshalling errors prior to writing to
a http.ResponseWriter, which helps to avoid writing incomplete or malformed
data to the response.
Installed Size: 22.5 kB
Architectures: all