mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 13:30:50 +00:00
9 lines
363 B
TypeScript
9 lines
363 B
TypeScript
/**
|
|
* Pad to the next alignment boundary
|
|
* @param {Uint8Array} data Uint8Array data to pad
|
|
* @param {number} alignment Alignment boundary to fulfill
|
|
* @param {number} padCharacter Character to fill with
|
|
* @returns {Uint8Array} Padded UInt8Array image
|
|
*/
|
|
export declare function padTo(data: Uint8Array, alignment: number, padCharacter?: number): Uint8Array;
|