gotosocial/vendor/git.iim.gay/grufwub/go-bytes
kim (grufwub) e43a46e982 add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 20:12:47 +01:00
..
buffer.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
bytes.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
bytesconv_table.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
pool.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
README.md add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00

drop-in replacement for standard "bytes" library

contains alternative Buffer implementation that provides direct access to the underlying byte-slice, with some interesting alternative struct methods. provides no safety guards, if you pass bad values it will blow up in your face...

and alternative ToUpper() and ToLower() implementations that use lookup tables for improved performance

provides direct call-throughs to most of the "bytes" library functions to facilitate this being a direct drop-in. in some time, i may offer alternative implementations for other functions too