Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProtocolBuffersCompiler

A Encoder/Decoder written in Swift for Google Protocol Buffers

Usage is simple, there are 2 types Key and Value. Value contains the value of type Any and the Key for decoding/encoding.

Encoder ( singleton available under shared ) and Decoder are used respectively to either generate a NSData stream or decode one into a [FieldNumber: Value] collection.

The Encoder only accepts an array of Values as the Key instance within them will contain the correct fieldNumber, since ordering is not important an array is used for faster writing your boiler plate code.

About

A Encoder/Decoder written in Swift for Google Protocol Buffers

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages