Skip to content

Passing output buffer in #152

@emilbayes

Description

@emilbayes

Hi!

In sodium-native we use this pattern where the developer can pass in the Buffer that data should be written into. This is especially handy if you want to leverage special "Buffers", like the "Secure Buffers" we have, where the memory pages used have had certain flags set, such as no swap, canaries, not being included in core dumps and such.

Is this something we could do here as well? I'm imagining a optional, last parameter on relevant functions

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