Class: Blender3d::NullTerminatedStringType
- Inherits:
-
Object
- Object
- Blender3d::NullTerminatedStringType
- Defined in:
- lib/blender-3d/types.rb
Overview
equivalent to PointerType<SimpleType<char>> (char*)
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
87 88 89 |
# File 'lib/blender-3d/types.rb', line 87 def inspect 'char*' end |
#read(reader) ⇒ Object
91 92 93 |
# File 'lib/blender-3d/types.rb', line 91 def read(reader) reader.read_string.chop end |
#to_s ⇒ Object
83 84 85 |
# File 'lib/blender-3d/types.rb', line 83 def to_s "NullTerminatedString" end |