Class: Ucp::Util::PackedMsg
- Inherits:
-
Object
- Object
- Ucp::Util::PackedMsg
- Defined in:
- lib/ucp/util/packed_msg.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#chars ⇒ Object
readonly
Returns the value of attribute chars.
-
#encoded ⇒ Object
readonly
Returns the value of attribute encoded.
-
#required_octets ⇒ Object
readonly
Returns the value of attribute required_octets.
-
#required_septets ⇒ Object
readonly
Returns the value of attribute required_septets.
-
#tainted ⇒ Object
readonly
Returns the value of attribute tainted.
-
#unencoded ⇒ Object
readonly
Returns the value of attribute unencoded.
Instance Method Summary collapse
-
#initialize ⇒ PackedMsg
constructor
A new instance of PackedMsg.
Constructor Details
#initialize ⇒ PackedMsg
Returns a new instance of PackedMsg.
25 26 27 28 29 30 31 32 |
# File 'lib/ucp/util/packed_msg.rb', line 25 def initialize @encoded="" @unencoded="" @required_septets=0 @required_octets=0 @chars=0 @tainted=false end |
Instance Attribute Details
#chars ⇒ Object (readonly)
Returns the value of attribute chars.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def chars @chars end |
#encoded ⇒ Object (readonly)
Returns the value of attribute encoded.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def encoded @encoded end |
#required_octets ⇒ Object (readonly)
Returns the value of attribute required_octets.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def required_octets @required_octets end |
#required_septets ⇒ Object (readonly)
Returns the value of attribute required_septets.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def required_septets @required_septets end |
#tainted ⇒ Object (readonly)
Returns the value of attribute tainted.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def tainted @tainted end |
#unencoded ⇒ Object (readonly)
Returns the value of attribute unencoded.
23 24 25 |
# File 'lib/ucp/util/packed_msg.rb', line 23 def unencoded @unencoded end |