Trying to allocate an in-memory  buff of small size (few bytes) using 
bytes.NewBuffer(make([]byte, 0, <some size >))
The allocated buffer has size 4096 bytes i.e. > than what I requested for. 
Why is this so?

-- 
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/8320e1ca-a627-4166-bbc2-ec793f258bffo%40googlegroups.com.

Reply via email to