https://github.com/koykov/byteptr
Low-level access to byte arrays.
https://github.com/koykov/byteptr
bytes pointer
Last synced: 3 days ago
JSON representation
Low-level access to byte arrays.
- Host: GitHub
- URL: https://github.com/koykov/byteptr
- Owner: koykov
- License: mit
- Created: 2021-05-23T19:37:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-24T15:25:30.000Z (about 1 year ago)
- Last Synced: 2024-11-24T16:29:40.505Z (about 1 year ago)
- Topics: bytes, pointer
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Byteptr
Byteptr is a solution to manipulate with bytes/strings (and their parts) without
using pointers. It's a part of the reducing pointer policy.
Byteptr is similar of [refrect.SliceHeader](https://golang.org/pkg/reflect/#SliceHeader)
and [refrecl.StringHeader](https://golang.org/pkg/reflect/#StringHeader) structs, but
provides extra methods to manipulate with data in raw memory.