@keymanapp/common-types
Version:
Keyman Developer keyboard file types
20 lines • 602 B
TypeScript
import { VisualKeyboard } from "./visual-keyboard.js";
export default class KvkFileWriter {
/**
* Writes the visual keyboard to a binary .kvk format byte array.
* @param source VisualKeyboard
* @returns Uint8Array, the .kvk file
*/
write(source: VisualKeyboard): Uint8Array;
private build;
/**
* Fills a kvk string from a source string. Note that the format includes both
* a length word and zero termination.
*
* @param str
* @param value
* @returns number
*/
private setString;
}
//# sourceMappingURL=kvk-file-writer.d.ts.map