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

Method set

ui/stream/header.js:69–75  ·  view source on GitHub ↗

* Set the reader data * * @param {number} data

(data)

Source from the content-addressed store, hash-verified

67 * @param {number} data
68 */
69 set(data) {
70 if (data > headerDataCutter) {
71 throw new Exception("data must not be greater than 0x3f", false);
72 }
73
74 this.headerByte |= headerDataCutter & data;
75 }
76
77 /**
78 * Return the header value

Callers 15

handleCloseMethod · 0.95
sendMethod · 0.95
signalMethod · 0.95
sendMethod · 0.95
dialMethod · 0.45
sendWillSubNegoMethod · 0.45
sendSubNegoMethod · 0.45
runMethod · 0.45
runMethod · 0.45
bufferMethod · 0.45
bufferMethod · 0.45
pauseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected