Skip to content

How to safely clear bump buffer #93

@wlohrmann-hf

Description

@wlohrmann-hf

Hi, I'm using the client in a no-std environment with a bump buffer. I'm currently running into some issues with running out of memory leading to Alloc issues. If I put a

        unsafe {
            client.buffer().reset();
        }

after receiving and sending messages that works but I'm not sure if I've done that correctly. Can you please help me understand how to do this in a consistent and safe way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions