MCPcopy Create free account
hub / github.com/cameri/nostream / fromBuffer

Function fromBuffer

src/utils/transform.ts:109–109  ·  view source on GitHub ↗
(input: Buffer)

Source from the content-addressed store, hash-verified

107export const toBuffer = (input: any) => Buffer.from(input, 'hex')
108
109export const fromBuffer = (input: Buffer) => input.toString('hex')
110
111export const toBigInt = (input: string | number): bigint => BigInt(input)
112

Callers 1

transform.spec.tsFile · 0.90

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected