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

Method toString

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

* Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. * * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, * then each invalid byte is replaced with the re

(encoding?: BufferEncoding, start?: number, end?: number)

Source from the content-addressed store, hash-verified

385 * @param [end=buf.length] The byte offset to stop decoding at (not inclusive).
386 */
387 toString(encoding?: BufferEncoding, start?: number, end?: number): string;
388 /**
389 * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`.
390 *

Callers 15

lambda-server.jsFile · 0.65
handlerFunction · 0.65
parseSdkDataFunction · 0.65
codeToRegexFunction · 0.65
setupFunction · 0.65
loadShimFunction · 0.65
buildReactFunction · 0.65
handlerFunction · 0.65
handlerFunction · 0.65
handlerFunction · 0.65
handlerFunction · 0.65
appResponseFunction · 0.65

Calls

no outgoing calls

Tested by 3

testBufFunction · 0.52
writeFunction · 0.52
updateTransformFunction · 0.52