MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / write

Method write

encode.go:262–265  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

260}
261
262func (e *Encoder) write(b []byte) error {
263 _, err := e.w.Write(b)
264 return err
265}
266
267func (e *Encoder) writeString(s string) error {
268 _, err := e.w.Write(stringToBytes(s))

Callers 9

EncodeTimeMethod · 0.95
write1Method · 0.95
write2Method · 0.95
write4Method · 0.95
write8Method · 0.95
EncodeBytesMethod · 0.95
EncodeMsgpackMethod · 0.80
encodeByteArrayValueFunction · 0.80
makeExtEncoderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected