Class: Celluloid::DNS::BinaryStringIO

Inherits:
StringIO
  • Object
show all
Defined in:
lib/celluloid/dns/transport.rb

Overview

A helper class for processing incoming network data.

Instance Method Summary collapse

Constructor Details

#initializeBinaryStringIO

Returns a new instance of BinaryStringIO.



33
34
35
36
37
# File 'lib/celluloid/dns/transport.rb', line 33

def initialize
  super

  set_encoding("BINARY")
end