Class: Stream
- Inherits:
-
StringIO
- Object
- StringIO
- Stream
- Defined in:
- lib/fluent/plugin/kinesis_helper/compression.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize ⇒ Stream
Returns a new instance of Stream.
5 6 7 8 |
# File 'lib/fluent/plugin/kinesis_helper/compression.rb', line 5 def initialize(*) super set_encoding "BINARY" end |
Instance Method Details
#close ⇒ Object
10 11 12 |
# File 'lib/fluent/plugin/kinesis_helper/compression.rb', line 10 def close rewind; end |