Class: Y::Lib0::Decoding::Decoder
- Inherits:
 - 
      Object
      
        
- Object
 - Y::Lib0::Decoding::Decoder
 
 
- Defined in:
 - lib/y/lib0/decoding.rb
 
Instance Attribute Summary collapse
- 
  
    
      #arr  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute arr.
 - 
  
    
      #pos  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute pos.
 
Instance Method Summary collapse
- 
  
    
      #initialize(uint8_array)  ⇒ Decoder 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Decoder.
 
Constructor Details
#initialize(uint8_array) ⇒ Decoder
Returns a new instance of Decoder.
      9 10 11 12  | 
    
      # File 'lib/y/lib0/decoding.rb', line 9 def initialize(uint8_array) @arr = uint8_array @pos = 0 end  | 
  
Instance Attribute Details
#arr ⇒ Object
Returns the value of attribute arr.
      7 8 9  | 
    
      # File 'lib/y/lib0/decoding.rb', line 7 def arr @arr end  | 
  
#pos ⇒ Object
Returns the value of attribute pos.
      7 8 9  | 
    
      # File 'lib/y/lib0/decoding.rb', line 7 def pos @pos end  |