MCPcopy
hub / github.com/nirui/sshwifty / Data

Method Data

application/command/header.go:96–98  ·  view source on GitHub ↗

Data returns the data of current Packet header

()

Source from the content-addressed store, hash-verified

94
95// Data returns the data of current Packet header
96func (p Header) Data() byte {
97 return byte(p & headerDataCutter)
98}
99
100// Set set a new value of the Header
101func (p *Header) Set(data byte) {

Callers 5

StringMethod · 0.95
SignalMethod · 0.45
handleStreamMethod · 0.45
handleCloseMethod · 0.45
HandleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected