Unsafe string↔[]byte conversion library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michał ‘mina86’ Nazarewicz 4dde7f529f Fix link to the blog post 2 years ago
LICENSE Initial commit 2 years ago
README.md Fix link to the blog post 2 years ago
unsafeConvert.go Initial commit 2 years ago
unsafeConvert_test.go Initial commit 2 years ago

README.md

Unsafe string↔[]byte conversion library

The library functions for unsafely convert between a string and a slice of bytes. You probably shouldn’t use it unless you need to squeeze extra performance from your performance-critical code path.

See https://mina86.com/2017/golang-string-and-bytes/ for some more info.