Class: Riak::Util::Gzip::Stream

Inherits:
StringIO
  • Object
show all
Defined in:
lib/riak/util/gzip.rb

Instance Method Summary collapse

Constructor Details

#initializeStream

Returns a new instance of Stream.



19
20
21
22
# File 'lib/riak/util/gzip.rb', line 19

def initialize(*)
  super
  set_encoding "BINARY"
end

Instance Method Details

#closeObject



24
25
26
# File 'lib/riak/util/gzip.rb', line 24

def close
  rewind
end