MCPcopy Create free account
hub / github.com/awslabs/llrt / subarray

Method subarray

types/buffer.d.ts:504–504  ·  view source on GitHub ↗

* Returns a new `Buffer` that references the same memory as the original, but * offset and cropped by the `start` and `end` indices. * * Specifying `end` greater than `buf.length` will return the same result as * that of `end` equal to `buf.length`. * * This method is i

(start?: number, end?: number)

Source from the content-addressed store, hash-verified

502 * @param [end=buf.length] Where the new `Buffer` will end (not inclusive).
503 */
504 subarray(start?: number, end?: number): Buffer;
505 /**
506 * Writes `value` to `buf` at the specified `offset` as big-endian.
507 *

Callers 3

appendMethod · 0.80
getContentMethod · 0.80
buffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected