MCPcopy Create free account
hub / github.com/ecto/muni / encodeEStop

Function encodeEStop

depot/console/src/lib/protocol.ts:108–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108export function encodeEStop(): ArrayBuffer {
109 const buf = new ArrayBuffer(CMD_HEADER_SIZE);
110 const view = new DataView(buf);
111 buildHeader(view, MSG_ESTOP, CMD_FLAG_MUST_ACK);
112 return buf;
113}
114
115export function encodeEStopRelease(): ArrayBuffer {
116 const buf = new ArrayBuffer(CMD_HEADER_SIZE);

Callers 1

useRoverConnectionRtcFunction · 0.90

Calls 1

buildHeaderFunction · 0.85

Tested by

no test coverage detected