Skip to content

About

Unsafe zero-copy slice casts for Go

Resources

Stars

37 stars

Watchers

3 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Unsafe zero-copy slice casts for Go

Convenience functions for casting raw bytes to typed arrays without copying.

Usage:

b := []byte{1, 2, 3, 4}
v := unsafeslice.Uint32SliceFromByteSlice(b)

About

Unsafe zero-copy slice casts for Go

Resources

Stars

37 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages