MCPcopy
hub / github.com/tinylib/msgp / WriteByte

Method WriteByte

msgp/write.go:435–435  ·  view source on GitHub ↗

WriteByte is analogous to WriteUint8

(u byte)

Source from the content-addressed store, hash-verified

433
434// WriteByte is analogous to WriteUint8
435func (mw *Writer) WriteByte(u byte) error { return mw.WriteUint8(u) }
436
437// WriteUint8 writes a uint8 to the writer
438func (mw *Writer) WriteUint8(u uint8) error { return mw.WriteUint64(uint64(u)) }

Callers 11

rwArrayBytesFunction · 0.80
rwMapBytesFunction · 0.80
rwBytesBytesFunction · 0.80
rwMapFunction · 0.80
rwArrayFunction · 0.80
rwExtensionFunction · 0.80
rwBytesFunction · 0.80
rwquotedFunction · 0.80
EncodeMsgMethod · 0.80
EncodeMsgMethod · 0.80
readExprMethod · 0.80

Calls 1

WriteUint8Method · 0.95

Tested by

no test coverage detected