Class: LibBin::Structure::Scalar Abstract
- Inherits:
-
Object
- Object
- LibBin::Structure::Scalar
- Defined in:
- lib/libbin/data_types.rb,
ext/libbin/data_types.c
Overview
This class is abstract.
Parent class for scalars
Direct Known Subclasses
Double, Double_BE, Double_LE, Flt, Flt_BE, Flt_LE, Half, Half_BE, Half_LE, Int16, Int16_BE, Int16_LE, Int32, Int32_BE, Int32_LE, Int64, Int64_BE, Int64_LE, Int8, PGHalf, PGHalf_BE, PGHalf_LE, UInt16, UInt16_BE, UInt16_LE, UInt32, UInt32_BE, UInt32_LE, UInt64, UInt64_BE, UInt64_LE, UInt8
Class Method Summary collapse
-
.always_align ⇒ false
Returns false as scalars are not required to be aligned.
Class Method Details
.always_align ⇒ false
Returns false as scalars are not required to be aligned.
10 11 12 |
# File 'ext/libbin/data_types.c', line 10 static VALUE cScalar_always_align(VALUE self) { return Qfalse; } |