MCPcopy Create free account
hub / github.com/hashintel/hash / take

Function take

libs/@local/harpc/client/typescript/src/binary/MutableBuffer.ts:290–296  ·  view source on GitHub ↗
(self: WriteBuffer)

Source from the content-addressed store, hash-verified

288};
289
290export const take = (self: WriteBuffer) => {
291 const impl = self as MutableBufferImpl<Write>;
292
293 const slice = MutableBytes.asBuffer(impl.bytes).slice(0, impl.index);
294
295 return slice;
296};

Callers 15

test_root_sortingFunction · 0.85
prepare_requestMethod · 0.85
partitionFunction · 0.85
take_bodyMethod · 0.85
dismissMethod · 0.85
dropMethod · 0.85
dropMethod · 0.85
condenseMethod · 0.85
take_diagnosticsMethod · 0.85
take_constraintsMethod · 0.85
take_diagnosticsMethod · 0.85
enter_unscopedMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_root_sortingFunction · 0.68
run_implFunction · 0.68