Initial commit

This commit is contained in:
2026-04-15 17:08:39 +02:00
parent ae164c47a8
commit 47fd1c2b7a
1819 changed files with 685388 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import type IntWrapper from "../../decoding/intWrapper";
import type { Field, TileSetMetadata } from "./tilesetMetadata";
/**
* Decodes a Field used as part of complex types (STRUCT children).
*/
export declare function decodeField(src: Uint8Array, offset: IntWrapper): Field;
/**
* Top-level decoder for embedded tileset metadata.
* Reads exactly ONE FeatureTableSchema from the stream.
*
* @param bytes The byte array containing the metadata
* @param offset The current offset in the byte array (will be advanced)
*/
export declare function decodeEmbeddedTileSetMetadata(bytes: Uint8Array, offset: IntWrapper): [TileSetMetadata, number];