Class: NBTFile::Private::Tokenizer
- Inherits:
-
Object
- Object
- NBTFile::Private::Tokenizer
- Defined in:
- lib/rubycraft/nbt_helper.rb
Overview
mcr files. Use the methods from ZlibHelper
Instance Method Summary collapse
-
#initialize(io) ⇒ Tokenizer
constructor
A new instance of Tokenizer.
Constructor Details
#initialize(io) ⇒ Tokenizer
Returns a new instance of Tokenizer.
7 8 9 10 |
# File 'lib/rubycraft/nbt_helper.rb', line 7 def initialize(io) @gz = io @state = NBTFile::Private::TopTokenizerState.new end |