Function: exportDrawdownToBitArray()
exportDrawdownToBitArray(
drawdown):Uint8ClampedArray
Defined in: draft/draft.ts:712
testing more compressed formats for storing the draft data. each cell can be stored in two bits 0 0 - unset - 0 0 1 - unset - 1 1 0 - false - 2 1 1 - true - 3
An ClampedUInt has date of 1 byte each. So we can store 4 cells per byte.
Parameters
drawdown
Returns
Uint8ClampedArray