Files
Projekt-Visualisierung/node_modules/@maplibre/mlt/dist/metadata/tileset/embeddedTilesetMetadataDecoder.d.ts
2026-04-15 17:08:39 +02:00

15 lines
648 B
TypeScript

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];