8000 GitHub - murphy214/pbf: A simple protocol buffer reader for creating custom reader implementations.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

murphy214/pbf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbf - Read protocol buffers using your own implementation

GoDoc

This project was designed to serialize protocol buffers structures from their type primitives. There are quite a few performance advantages to this including reduced allocation cost say if you protocol buffer structure is immediately tranformed into another data struture that whole protocol buffer allocation is sort of a waste.

Their our some functions in here that don't quite fit the scope of the project which I need to change but other than that, the functions for primitives (at least the ones I use) were labored over quite meticulously in regards to performance. If you would like to see an example of a reader I've implemented myself there is one here.

As you can see whats you understand the patters of pbfs its pretty straight forward, but more importantly if you have a really large structure of which 1000s need to be read, you can peak in and grab just the context or information you need in a custom read function.

About

A simple protocol buffer reader for creating custom reader implementations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0