This function reads a raw binary stream from a provided connection, expecting a specific format
that contains the sign bits for self spectra values. The data is divided into 3 groups corresponding
to: cs1a, cs2a, and cs3a.
Usage
seasonder_CSSY_read_asign(connection, key)
Arguments
- connection
A binary connection to read raw bytes from.
- key
A list containing:
- size
An integer specifying the total number of bytes to be read. It must equal 3 times the number
of bytes per group.
- key
A string identifier (expected to be "asign").
Value
A named list of 3 vectors. Each vector represents one group (i.e., cs1a, cs2a, cs3a)
and contains integers (0 or 1) corresponding to the bits (in little-endian order) extracted from the raw data.