UNPKG

xcom2charpool

Version:

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

16 lines (15 loc) 692 B
import { ArrayElementCodec } from '../../ArrayElementCodec'; import { BytePropertyValue } from './BytePropertyValue'; import { Reader } from '../../Reader'; import { CodecContext } from '../../CodecContext'; import { Writer } from '../../Writer'; import { BaseCodec } from '../../BaseCodec'; /** * Array element codec for BytePropertyValue entries inside ArrayProperty payloads. */ export declare class ByteArrayElement extends BaseCodec implements ArrayElementCodec<BytePropertyValue> { readonly type: string; constructor(type: string); read(reader: Reader, ctx: CodecContext): BytePropertyValue; write(writer: Writer, value: BytePropertyValue, ctx: CodecContext): void; }