Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryMarshalerAdapter ¶
func BinaryMarshalerAdapter(marshaler encoding.BinaryMarshaler) io.WriterTo
An adapter from the encoding.BinaryMarshaler interface to the io.WriterTo interface.
func BufferWriterTo ¶ added in v1.2.0
BufferWriterTo writes the same buffer each time the WriteTo metho is called.
func MultiWriterTo ¶
Implements the io.WriterTo interface.
WriteTo writes data from all of the provided writers to w, one after another until all data has been written or an error has occurred. The return value n is the number of total bytes written. If an error has been encountered during the write, it is also returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.