Unit Table of Content Examples License Examples package main import ( "io" "net/http" "entrlcom.dev/unit" ) func main() { // Ex: http.MaxBytesReader(). http.MaxBytesReader(w, r, unit.KiB * 2) // 2 KiB. // Ex: io.LimitReader(). io.LimitReader(r, unit.MiB * 4) // 4 MiB. } License MIT