buffer library

Buffer utilities for reading and writing binary data.

This library provides classes for:

  • Reading binary data from various sources (files, memory, web)
  • Writing binary data with proper serialization
  • Deserializing complex data structures from binary formats
  • Cross-platform buffer handling for Mapsforge data

Classes

Deserializer
A utility class to convert byte arrays to numbers.
Readbuffer
A high-performance buffer for reading binary data from Mapsforge files.
ReadbufferMemory
A ReadbufferSource that reads from an in-memory Uint8List.
ReadbufferSource
An abstract interface for a source of binary data from which a Readbuffer can be created.
SinkWithCounter
/////////////////////////////////////////////////////////////////////////// Web-compatible stub implementation of SinkWithCounter.
Writebuffer
Web-compatible stub implementation of Writebuffer.

Functions

createReadbufferSource(String pathOrUrl, [dynamic file]) ReadbufferSource
Factory for creating a ReadbufferSource on the WASM web platform.