Sha256: b0a8c5cea5006df5bc53dc259ae104296f875b68da8bf94ae0de13529060a0ed
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
module Cborb::Decoding class Decoder extend Forwardable def_delegators :@state, :result, :finished? def initialize @state = Cborb::Decoding::State.new end def decode(cbor) @state << cbor.to_s end def inspect "#<#{self.class}:#{object_id} finished=#{finished?} result=#{finished? ? result : "nil"}>" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cborb-0.1.0 | lib/cborb/decoding/decoder.rb |