Class: OpenHAB::Core::Types::RawType
- Inherits:
-
Object
- Object
- OpenHAB::Core::Types::RawType
- Includes:
- State
- Defined in:
- lib/openhab/core/types/raw_type.rb
Overview
This type can be used for all binary data such as images, documents, sounds etc.
Instance Attribute Summary collapse
- #bytesize ⇒ Integer readonly
- #mime_type ⇒ String readonly
Method Summary
Methods included from Type
Instance Attribute Details
#bytesize ⇒ Integer (readonly)
24 25 26 |
# File 'lib/openhab/core/types/raw_type.rb', line 24 def bytesize bytes.size end |
#mime_type ⇒ String (readonly)
|
# File 'lib/openhab/core/types/raw_type.rb', line 16
|