Pampero::Address
This represents an address and contains general helper methods.
To obtain a workable object, check_format needs to be over-
loaded to check that the address' format is correct.
Constructors
Turns the list of bytes into an address. little specifies
the endianness of those bytes.
Instance methods
bytes
Sourcecheck_format
This should be overloaded to check that the size of
the @bytes array corresponds to a valid address.
hex_str
Sourcelittle
Sourceto_i
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.