#JSBufferPrototype functionality exposed?

1 messages · Page 1 of 1 (latest)

spring burrow
#

When browsing through the code I noticed bun/src/js/builtins/JSBufferPrototype.ts which implements a number of useful helpers to quickly read/write to a buffer. Is this functionality exposed somehow?

ripe radish
#

yes

#

that is Buffer.prototype