Class: LibBin::Structure::Double_BE
- Defined in:
- lib/libbin/data_types.rb
Overview
A double precision big endian floating point scalar
Scalars collapse
- 
  
    
      .align  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Returns the alignment of Double_BE. 
- 
  
    
      .convert(input, output, input_big = LibBin::default_big?, output_big = !input_big, parent = nil, index = nil, length = nil)  ⇒ Numeric+ 
    
    
  
  
  
  
  
  
  
  
  
    Convert a field of class Double_BE by loading it from inputand dumping it tooutput.
- 
  
    
      .dump(value, output, output_big = LibBin::default_big?, parent = nil, index = nil, length = nil)  ⇒ nil 
    
    
  
  
  
  
  
  
  
  
  
    Dump a field of class Double_BE to output.
- 
  
    
      .load(input, input_big = LibBin::default_big?, parent = nil, index = nil, length = nil)  ⇒ Numeric+ 
    
    
  
  
  
  
  
  
  
  
  
    Load a field of type Double_BE from input, and return it.
- 
  
    
      .shape(value = nil, offset = 0, parent = nil, index = nil, kind = DataShape, length = nil)  ⇒ kind 
    
    
  
  
  
  
  
  
  
  
  
    Returns the shape of a field of type Double_BE. 
- 
  
    
      .size(value = nil, offset = 0, parent = nil, index = nil, length = nil)  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Returns the size of a field of type Double_BE. 
Methods inherited from Scalar
Class Method Details
.align ⇒ Integer
Returns the alignment of LibBin::Structure::Double_BE.
|  | # File 'lib/libbin/data_types.rb', line 3
 | 
.convert(input, output, input_big = LibBin::default_big?, output_big = !input_big, parent = nil, index = nil, length = nil) ⇒ Numeric+
Convert a field of class LibBin::Structure::Double_BE by loading it from input and dumping it to output. Returns the loaded field.
|  | # File 'lib/libbin/data_types.rb', line 3
 | 
.dump(value, output, output_big = LibBin::default_big?, parent = nil, index = nil, length = nil) ⇒ nil
Dump a field of class LibBin::Structure::Double_BE to output.
|  | # File 'lib/libbin/data_types.rb', line 3
 | 
.load(input, input_big = LibBin::default_big?, parent = nil, index = nil, length = nil) ⇒ Numeric+
Load a field of type LibBin::Structure::Double_BE from input, and return it.
|  | # File 'lib/libbin/data_types.rb', line 3
 | 
.shape(value = nil, offset = 0, parent = nil, index = nil, kind = DataShape, length = nil) ⇒ kind
Returns the shape of a field of type LibBin::Structure::Double_BE
|  | # File 'lib/libbin/data_types.rb', line 3
 | 
.size(value = nil, offset = 0, parent = nil, index = nil, length = nil) ⇒ Integer
Returns the size of a field of type LibBin::Structure::Double_BE.
|  | # File 'lib/libbin/data_types.rb', line 3
 |