Registry / serialization / paulmach-protoscan

paulmach-protoscan

JSON →
library0.2.1gogounverified

A Go library for scanning and iterating over protobuf message fields without full deserialization.

go get github.com/paulmach/protoscan
INSTALL
IMPORT
SIG · PAULMACH-PROTOSCAN
P
paulmach-protoscan
serializationgov0.2.1
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.

protoscan
github.com/paulmach/protoscan

Scans through protobuf binary data and prints field numbers and wire types.

package main import ( "fmt" "github.com/paulmach/protoscan" ) func main() { data := []byte{...} // protobuf bytes scanner := protoscan.New(data) for scanner.Next() { fmt.Println(scanner.FieldNumber(), scanner.WireType()) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
paulmach-protoscan — go get paulmach-protoscan · libregistry