Method: Cborb::Decoding::State#push_stack
- Defined in:
- lib/cborb/decoding/state.rb
#push_stack(type, im_data = nil) ⇒ Object
Push type that has following data(e.g. Array) to stack
81 82 83 |
# File 'lib/cborb/decoding/state.rb', line 81 def push_stack(type, im_data = nil) @stack << [type, im_data] end |