Open wuhkuh opened 7 years ago
More specifically in this chunk of code:
const byteStart = Math.floor(offset / 8) const byteEnd = Math.ceil((offset + bitLength) / 8) const bits = '0x' + buffer.toString('hex', byteStart, byteEnd) // HACK
Is there a better solution? Can we avoid using strings altogether?
More specifically in this chunk of code:
Is there a better solution? Can we avoid using strings altogether?