github.com/fmstephe/unsafeutil@v1.0.0/README.md (about)

     1  # Unsafe Conversions Between String <-> []byte
     2  
     3  This repo is intended to be a clear implementation of the solution suggested by Keith Randal here
     4  
     5  https://groups.google.com/d/msg/golang-nuts/Zsfk-VMd_fU/WXPjfZwPBAAJ
     6  
     7  This avoids the problems associated with using a `uintptr` as well as failing tests if the runtime representation of string or []byte changes.