Closed TimDaub closed 2 years ago
see readme.md:
a.toBuffer(endian, length) - convert to Node.js Buffer (if available). For compatibility with browserify and similar tools, use this instead: a.toArrayLike(Buffer, endian, length)
But what unit is length? My guess would be either bytes or bits?
length
Edit: Looking at the code it's probably bytes
see readme.md:
But what unit is
length
? My guess would be either bytes or bits?Edit: Looking at the code it's probably bytes