Class: NBTFile::Emitter

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycraft/nbt_helper.rb

Instance Method Summary collapse

Constructor Details

#initialize(stream) ⇒ Emitter

Returns a new instance of Emitter.



14
15
16
17
# File 'lib/rubycraft/nbt_helper.rb', line 14

def initialize(stream)
  @gz = stream
  @state = NBTFile::Private::TopEmitterState.new
end