A basic implementation using a static amount of stack memory.
Sinks should keep in mind that they're being passed a slice to stack memory, so should not persist slices outside of their .put function,
they must instead make a copy of the data.
This implementation will fail an assert if the user attempts to push more data into it than it can handle.
A basic implementation using a static amount of stack memory.
Sinks should keep in mind that they're being passed a slice to stack memory, so should not persist slices outside of their .put function, they must instead make a copy of the data.
This implementation will fail an assert if the user attempts to push more data into it than it can handle.