Sha256: 16f499b57c219031b7074bbb51916b46d3402b876958cc6238d39156336bc059
Contents?: true
Size: 372 Bytes
Versions: 24
Compression:
Stored size: 372 Bytes
Contents
require 'protobuf/field/uint32_field' module Protobuf module Field class Fixed32Field < Uint32Field ## # Public Instance Methods # def decode(bytes) bytes.unpack('V').first end def encode(value) [value].pack('V') end def wire_type ::Protobuf::WireType::FIXED32 end end end end
Version data entries
24 entries across 24 versions & 2 rubygems