/** * Utility functions to replace Node.js Buffer operations with browser-compatible Uint8Array operations */ /** * Convert base64 string to Uint8Array */ export declare function base64ToUint8Array(base64: string): Uint8Array; /** * Convert Uint8Array to base64 string */ export declare function uint8ArrayToBase64(bytes: Uint8Array): string; /** * Concatenate multiple Uint8Arrays */ export declare function concatenateUint8Arrays(arrays: Uint8Array[]): Uint8Array; /** * Write a 32-bit big-endian unsigned integer to a Uint8Array */ export declare function writeUInt32BE(value: number, buffer: Uint8Array, offset?: number): void; /** * Read a 32-bit big-endian unsigned integer from a Uint8Array */ export declare function readUInt32BE(buffer: Uint8Array, offset?: number): number; /** * Check if two Uint8Arrays are equal */ export declare function uint8ArraysEqual(a: Uint8Array, b: Uint8Array): boolean; /** * Copy data from one Uint8Array to another */ export declare function copyUint8Array(source: Uint8Array, target: Uint8Array, targetOffset?: number): void; /** * Convert Uint8Array to string (for text data) */ export declare function uint8ArrayToString(bytes: Uint8Array): string; /** * Convert string to Uint8Array */ export declare function stringToUint8Array(str: string): Uint8Array; //# sourceMappingURL=bufferUtils.d.ts.map