UNPKG

xcom2charpool

Version:

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

8 lines (7 loc) 279 B
import { Reader } from './Reader'; import { CodecContext } from './CodecContext'; import { Writer } from './Writer'; export interface ArrayElementCodec<T = unknown> { read(reader: Reader, ctx: CodecContext): T; write(writer: Writer, value: T, ctx: CodecContext): void; }