Files
FrenoCorp/node_modules/@msgpack/msgpack/dist/CachedKeyDecoder.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

17 lines
588 B
TypeScript

export interface KeyDecoder {
canBeCached(byteLength: number): boolean;
decode(bytes: Uint8Array, inputOffset: number, byteLength: number): string;
}
export declare class CachedKeyDecoder implements KeyDecoder {
readonly maxKeyLength: number;
readonly maxLengthPerKey: number;
hit: number;
miss: number;
private readonly caches;
constructor(maxKeyLength?: number, maxLengthPerKey?: number);
canBeCached(byteLength: number): boolean;
private find;
private store;
decode(bytes: Uint8Array, inputOffset: number, byteLength: number): string;
}