Files
FrenoCorp/node_modules/lib0/dist/buffer.d.ts
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

22 lines
1.1 KiB
TypeScript

export function createUint8ArrayFromLen(len: number): Uint8Array<ArrayBuffer>;
export function createUint8ArrayViewFromArrayBuffer(buffer: ArrayBuffer, byteOffset: number, length: number): Uint8Array<ArrayBuffer>;
export function createUint8ArrayFromArrayBuffer(buffer: ArrayBuffer): Uint8Array<ArrayBuffer>;
/**
* @param {Uint8Array} bytes
* @return {string}
*/
export function toBase64(bytes: Uint8Array): string;
/**
* @param {string} s
* @return {Uint8Array<ArrayBuffer>}
*/
export function fromBase64(s: string): Uint8Array<ArrayBuffer>;
export function toBase64UrlEncoded(buf: Uint8Array): string;
export function fromBase64UrlEncoded(base64: string): Uint8Array<ArrayBuffer>;
export function toHexString(buf: Uint8Array): string;
export function fromHexString(hex: string): Uint8Array<ArrayBuffer>;
export function copyUint8Array(uint8Array: Uint8Array): Uint8Array;
export function encodeAny(data: any): Uint8Array;
export function decodeAny(buf: Uint8Array): any;
export function shiftNBitsLeft(bs: Uint8Array, N: number): Uint8Array<ArrayBufferLike>;
//# sourceMappingURL=buffer.d.ts.map