On Fri, May 14, 2021 at 12:36 PM sh...@tigera.io <sh...@tigera.io> wrote:

> One way I could see to solve this would be to do some manual memory 
> management with MMap or BRK to allocate the buffer but I wondered if there 
> was an easier way?

IMO using manual memory management _is_ the easy way in this case. I'm
using https://pkg.go.dev/modernc.org/memory for this.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-XOHhfj6wLike0RegHC6S%2BVzRCh7fOpJ%2B9No7B1hn7ijQ%40mail.gmail.com.

Reply via email to