generated from tpl/purs
5 lines
219 B
JavaScript
5 lines
219 B
JavaScript
/** @type {(_: Buffer) => () => bigint} */
|
|
export const readBigInt64BE = buf => () => buf.readBigInt64BE(0)
|
|
|
|
export const dbg = a => () => typeof a === 'string' ? console.log(Buffer.from(a).toString('hex')) : undefined
|