Home Reference Source Test
import AtomicFloat64 from 'osc-js/src/atomic/float64.js'
public class | source

AtomicFloat64

Extends:

Atomic → AtomicFloat64

64-bit big-endian IEEE 754 floating point number OSC Atomic Data Type

Constructor Summary

Public Constructor
public

Create an AtomicFloat64 instance

Method Summary

Public Methods
public

Interpret the given number as packed binary data

public

unpack(dataView: DataView, initialOffset: number): number

Unpack binary data from DataView and read a Float64 number

Inherited Summary

From class Atomic
public
public

value: *

public

pack(method: string, byteLength: number): Uint8Array

Interpret the given value of this entity as packed binary data

public

unpackWithMethod(dataView: DataView, method: string, byteLength: number, initialOffset: number): number

Unpack binary data from DataView according to the given format

Public Constructors

public constructor(value: number) source

Create an AtomicFloat64 instance

Override:

Atomic#constructor

Params:

NameTypeAttributeDescription
value number
  • optional

Float number

Public Methods

public pack(): Uint8Array source

Interpret the given number as packed binary data

Override:

Atomic#pack

Return:

Uint8Array

Packed binary data

public unpack(dataView: DataView, initialOffset: number): number source

Unpack binary data from DataView and read a Float64 number

Params:

NameTypeAttributeDescription
dataView DataView

The DataView holding the binary representation of the value

initialOffset number
  • optional
  • default: 0

Offset of DataView before unpacking

Return:

number

Offset after unpacking