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) • 707 B
TypeScript
import { TypeCodec } from '../../TypeCodec';
import { BytePropertyValue } from './BytePropertyValue';
import { Reader } from '../../Reader';
import { CodecContext } from '../../CodecContext';
import { Writer } from '../../Writer';
import { BaseCodec } from '../../BaseCodec';
/**
* Codec for UE ByteProperty values (stored as typed strings).
*/
export declare class ByteProperty extends BaseCodec implements TypeCodec<BytePropertyValue> {
readonly type = "ByteProperty";
read(reader: Reader, length: number, ctx: CodecContext): BytePropertyValue;
write(writer: Writer, value: BytePropertyValue, ctx: CodecContext): void | number;
isSupported(value: unknown): value is BytePropertyValue;
}