Class: RStyx::Message::Rread
- Inherits:
-
StyxMessage
- Object
- StyxMessage
- RStyx::Message::Rread
- Defined in:
- lib/rstyx/messages.rb
Overview
Class representing an Rread message sent by a Styx server. See Inferno’s read(5) for more details.
Fields
- data
-
the data read from the file
Constant Summary
Constants inherited from StyxMessage
Instance Attribute Summary
Attributes inherited from StyxMessage
Instance Method Summary collapse
Methods inherited from StyxMessage
add_field, fields, from_bytes, #ident, #initialize, #tag, #tag=, #to_bytes, #to_s
Constructor Details
This class inherits a constructor from RStyx::Message::StyxMessage
Instance Method Details
#count ⇒ Object
799 800 801 |
# File 'lib/rstyx/messages.rb', line 799 def count return(@fieldvals[:data].length) end |