Sample

Type Alias Sample 

Source
pub type Sample = i32;
Expand description

A single sample value from a waveform signal.

This type uses an i32 to accommodate the maximum size and range of all signal data formats defined in the WFDB standard.

All signal data read will be stored internally as a Sample. When the data is encoded back into bytes for a specific WFDB format, the value will be downcast to the actual required size.