Registry / serialization / alecthomas-binary

alecthomas-binary

JSON →
library0.0.0-20231202071617-9b43cc962409gogounverified

A Go package for encoding and decoding binary data using reflection.

go get github.com/alecthomas/binary
INSTALL
IMPORT
SIG · ALECTHOMAS-BINARY
A
alecthomas-binary
serializationgov0.0.0-20231202071617-9b43cc962409
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

binary
github.com/alecthomas/binary

Marshal a uint64 to binary

package main import ( "fmt" "github.com/alecthomas/binary" ) func main() { var v uint64 = 42 b, _ := binary.Marshal(v) fmt.Println(b) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20231202071617-9b43cc962409latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources
alecthomas-binary — go get alecthomas-binary · libregistry