MCPcopy
hub / github.com/vmihailenco/msgpack / writeCode

Method writeCode

encode.go:258–260  ·  view source on GitHub ↗
(c byte)

Source from the content-addressed store, hash-verified

256}
257
258func (e *Encoder) writeCode(c byte) error {
259 return e.w.WriteByte(c)
260}
261
262func (e *Encoder) write(b []byte) error {
263 _, err := e.w.Write(b)

Callers 7

EncodeMapLenMethod · 0.95
EncodeNilMethod · 0.95
EncodeBoolMethod · 0.95
encodeStringLenMethod · 0.95
EncodeArrayLenMethod · 0.95
encodeExtLenMethod · 0.95

Calls 1

WriteByteMethod · 0.65

Tested by

no test coverage detected