Skip to content

[Rust] Serialize to File or generic std::io::Write #7984

@zommiommy

Description

@zommiommy

Hi!

From my understanding, the a flexbuffer has to be built using a Builder, which serializes to an internal Vec<u8>. Would it be possible to serialize to a file?

Generally give a type that implements std::io::Write. This is a problem to me because I'm serializing a struct that barely fits in memory, so the serialization buffer gives me an out of memory.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions