Sha256: f1c2f4043a17eb752f7f22310a9eeed69675c05c8ad470873e623f13eee1c3e5
Contents?: true
Size: 323 Bytes
Versions: 130
Compression:
Stored size: 323 Bytes
Contents
require 'protobuf/field/uint32_field.rb' module Protobuf module Field class Fixed32Field < Uint32Field def wire_type ::Protobuf::WireType::FIXED32 end def decode(bytes) bytes.unpack('V').first end def encode(value) [value].pack('V') end end end end
Version data entries
130 entries across 130 versions & 1 rubygems