MCPcopy Create free account
hub / github.com/apache/thrift / writeByteDirect

Method writeByteDirect

lib/go/thrift/compact_protocol.go:752–754  ·  view source on GitHub ↗

Writes a byte without any possibility of all that field header nonsense. Used internally by other writing methods that know they need to write a byte.

(b byte)

Source from the content-addressed store, hash-verified

750// Writes a byte without any possibility of all that field header nonsense.
751// Used internally by other writing methods that know they need to write a byte.
752func (p *TCompactProtocol) writeByteDirect(b byte) error {
753 return p.trans.WriteByte(b)
754}
755
756//
757// Internal reading methods

Callers 7

WriteMessageBeginMethod · 0.95
WriteFieldStopMethod · 0.95
WriteMapBeginMethod · 0.95
WriteBoolMethod · 0.95
WriteByteMethod · 0.95
writeCollectionBeginMethod · 0.95

Calls 1

WriteByteMethod · 0.65

Tested by

no test coverage detected