Registry / serialization / beefcake

beefcake

JSON →
library1.2.0rbrubygemsunverified

A pure-Ruby library for encoding and decoding Protocol Buffers messages.

gem install beefcake
INSTALL
IMPORT
SIG · BEEFCAKE
B
beefcake
serializationrubyv1.2.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.

Beefcake
require 'beefcake'

Define and encode a Protocol Buffers message

require 'beefcake' class MyMessage include Beefcake::Message required :name, :string, 1 end msg = MyMessage.new(name: 'test') puts msg.encode.unpack('H*')
Debug
Known issues
gotchaBeefcake does not support proto3 features like default values or optional fields
fix
Use google-protobuf gem for full proto3 support
affects: >= 0
Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
beefcake — gem install beefcake · libregistry