UNPKG

companion-module-utils

Version:

Utility tools for use in Bitfocus Companion modules

10 lines (9 loc) 306 B
/** * Cache to prever redrawing existing imagebuffers */ export declare class Cache { private data; readonly get: (key: string) => Uint8Array | null; readonly set: (key: string, imageBuffer: Uint8Array) => void; } export declare const combineRGB: (r: number, g: number, b: number) => number;