2

How can i convert buffer data coming from fingerprint capture to byte array in nodejs

<Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 ...>
lilKing
  • 365
  • 1
  • 3
  • 8
hopeforall
  • 401
  • 1
  • 6
  • 20

1 Answers1

1
var arrByte = Uint8Array.from(data)

Also, see this similar question and the docs for Buffer.

Jim
  • 3,821
  • 1
  • 28
  • 60