API

Convenience helpers around serializers.

Index
  • Serialize to a single in-memory buffer.

    This is a helper that buffers all chunks produced by serializeAsync, then concatenates them. Use serializeAsync directly if you want true streaming to a file/response.

    Type Parameters

    • A

    Parameters

    Returns Promise<Uint8Array<ArrayBufferLike> | undefined>