Go Package bytes

From NovaOrdis Knowledge Base
Revision as of 22:16, 30 March 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

External

Internal

Buffer

A Buffer does not have to be initialized and supports both Reader and Writer interface.

Conversion of a Buffer into a []byte:

var buffer bytes.Buffer
bytes := buffer.Bytes[]