MCPcopy Index your code
hub / github.com/nodejs/node / fromBuffer

Function fromBuffer

lib/internal/error_serdes.js:157–161  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

155}
156
157function fromBuffer(error) {
158 return Buffer.from(TypedArrayPrototypeGetBuffer(error),
159 TypedArrayPrototypeGetByteOffset(error) + 1,
160 TypedArrayPrototypeGetByteLength(error) - 1);
161}
162
163let deserialize;
164function deserializeError(error) {

Callers 1

deserializeErrorFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…