Sha256: b9d138f8544fa9311ca201b9abd750de25c48222e1e6efb228de2e27b8ac6916
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 Bytes
Contents
module Cborb::Decoding::Types # To represent major type: 2(definite-length) # # @see https://tools.ietf.org/html/rfc7049#section-2.1 class ByteString < Type extend Cborb::Decoding::Types::IntegerDecodable def self.decode(state, additional_info) state.accept_value(self, state.consume(consume_as_integer(state, additional_info))) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cborb-0.3.0 | lib/cborb/decoding/types/byte_string.rb |
cborb-0.2.0 | lib/cborb/decoding/types/byte_string.rb |
cborb-0.1.0 | lib/cborb/decoding/types/byte_string.rb |