Frontend Binary Data Manipulation APIs
Modern frontend deveolpment increasingly requires handling binary data through various web APIs. This article explores key JavaScript APIs for binary operations.
Base64 Encoding Utilities
The atob() and btoa() functions handle Base64 encoding/decoding of ASCII strings:
btoa('A') // Returns "QQ=="
Base64 encoding follows these steps: ...
Posted on Wed, 07 Oct 2026 16:37:01 +0000 by Fribbles
Parsing Tektronix .wfm Files in MATLAB
Tektronix oscilloscopes save captured waveforms in a proprietary binary .wfm format. Because this format is not natively supported by standard file I/O functions, custom parser are required to extract raw voltage values and corresponding time vectors. The following implementation provides a robust approach for reading these binary files and con ...
Posted on Thu, 17 Sep 2026 16:17:23 +0000 by mariocesar