UNPKG

beth-parser

Version:

Parser library for Bethesda's Creation Engine data files

21 lines (20 loc) 526 B
/// <reference types="node" /> /** * Strings data serializer. */ export default class StringsSerializer { protected padded: boolean; protected encoding: string; /** * @param strings Strings dictionary. * @param padded Whether to use padded format. * @param encoding String encoding. */ constructor(padded?: boolean, encoding?: string); /** * Serialize strings into data buffer. */ serialize(strings: { [id: number]: string; }): Buffer; }