Class: Gsf::Input
- Inherits:
-
Object
- Object
- Gsf::Input
- Defined in:
- lib/gsf/input.rb
Instance Method Summary collapse
Instance Method Details
#read(size = nil) ⇒ Object
20 21 22 23 24 |
# File 'lib/gsf/input.rb', line 20 def read(size=nil) size ||= remaining bytes = read_raw(size) bytes.pack("C*") end |
#read_raw ⇒ Object
19 |
# File 'lib/gsf/input.rb', line 19 alias_method :read_raw, :read |