@exodus/bufferize
v1.0.2
Published
Traverses an object and creates a buffer from every UInt8Array
Downloads
860
Readme
@exodus/bufferize
Traverses an object and transforms every UInt8Array
into a Buffer
.
Install
yarn add @exodus/bufferize
Usage
import bufferize from '@exodus/bufferize'
function wrapRpcHandler(handler) {
return (event, ...args) => {
return handler(event, ...bufferize(args))
}
}