Registry / serialization / wealdtech-go-multicodec

wealdtech-go-multicodec

JSON →
library1.4.0gogounverified

A Go library for adding and removing codec prefixes from data using the multicodec protocol.

go get github.com/wealdtech/go-multicodec
INSTALL
IMPORT
SIG · WEALDTECH-GO-MULTI
W
wealdtech-go-multicodec
serializationgov1.4.0
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.

multicodec
✓ github.com/wealdtech/go-multicodec

Add or remove multicodec prefixes from binary data.

package main import ( "fmt" "github.com/wealdtech/go-multicodec" ) func main() { data := []byte("hello") prefixed := multicodec.AddPrefix(multicodec.CodecRaw, data) fmt.Printf("Prefixed: %x\n", prefixed) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
wealdtech-go-multicodec — go get wealdtech-go-multicodec · libregistry