Initializes the DataLayer with specified parameters.
The length of the payload in bits.
Flag to indicate if messages should be logged.
The encoding mode to be used (default is 0).
Builds and returns a BCH instance based on the given encoding mode.
The encoding mode.
A BCH instance configured for the specified encoding mode.
Encodes a string to a Float32Array using 7-bit ASCII encoding.
The input text string.
Encodes a binary string into a Float32Array with the ECC encoding.
The input binary string.
Processes and encodes the packet data.
The binary string representation of the packet data.
Encodes a text string into a Float32Array with the ECC encoding.
The input text string.
Data layer for encoding and decoding payloads class. This class utilizes BCH codes for error correction.