Skip to content

Refactor API to use std::io::Write #15

Description

@mayuso

Instead of always returning a String (which forces a large allocation), change functions to take a W: Write argument.

This allows writing directly to a file, socket, or buffer, lowering memory overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions