UNPKG

@bare-ts/lib

Version:

TypeScript library for BARE, a compact and simple binary-serialization format

6 lines (5 loc) 345 B
import { type ByteCursor } from "../core/byte-cursor.ts"; export declare function readString(bc: ByteCursor): string; export declare function writeString(bc: ByteCursor, x: string): void; export declare function readFixedString(bc: ByteCursor, byteLen: number): string; export declare function writeFixedString(bc: ByteCursor, x: string): void;