Method: LibBin::Structure::Int64_BE.dump

Defined in:
lib/libbin/data_types.rb

.dump(value, output, output_big = LibBin::default_big?, parent = nil, index = nil, length = nil) ⇒ nil

Dump a field of class LibBin::Structure::Int64_BE to output.

Parameters:

  • value (Numeric, Array<Numeric>)

    the Ruby representation of the type, or the Array representation of the vector if length is specified.

  • output (IO)

    the stream to dump the field to.

  • output_big (Boolean) (defaults to: LibBin::default_big?)

    the endianness of output.

  • parent (Structure) (defaults to: nil)

    ignored.

  • index (Integer) (defaults to: nil)

    ignored.

  • length (Integer) (defaults to: nil)

    if given the length of the vector. Else the length is considered to be 1.

Returns:

  • (nil)


# File 'lib/libbin/data_types.rb', line 3