MCPcopy Create free account
hub / github.com/facebook/time / MessageType

Method MessageType

ptp/protocol/protocol.go:111–113  ·  view source on GitHub ↗

MessageType returns MessageType

()

Source from the content-addressed store, hash-verified

109
110// MessageType returns MessageType
111func (p *Header) MessageType() MessageType {
112 return p.SdoIDAndMsgType.MsgType()
113}
114
115// SetSequence populates sequence field
116func (p *Header) SetSequence(sequence uint16) {

Callers 1

DecodePacketFunction · 0.95

Calls 1

MsgTypeMethod · 0.45

Tested by

no test coverage detected