Add bytebuf write support avoiding copying

Slashed p99 for updates on dg01 from 35ms to 5ms.