proxy.golang.org : github.com/Khan/size
Package size implements run-time calculation of size of the variable. Source code is based on "binary.Size()" function from Go standard library. size.Of() omits size of slices, arrays and maps containers itself (24, 24 and 8 bytes). When counting maps separate calculations are done for keys and values.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21khan/size
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/Khan
Stars: 1 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago