UNPKG

xcom2charpool

Version:

Library for reading, manipulating, and managing XCOM 2 character pool binary files, supporting both browser and Node.js environments.

15 lines (14 loc) 534 B
import { TypeCodec } from '../TypeCodec'; import { Reader } from '../Reader'; import { Writer } from '../Writer'; import { BaseCodec } from '../BaseCodec'; import { CodecContext } from '../CodecContext'; /** * Codec for UE StrProperty values. */ export declare class StrProperty extends BaseCodec implements TypeCodec<string> { readonly type = "StrProperty"; read(reader: Reader, length: number, ctx: CodecContext): string; write(writer: Writer, value: string): void; isSupported(value: unknown): value is string; }