Glossary: Building APIs with Node.js
Buffer
Also written: Buffer.from
Node's type for raw bytes. It is used to turn text such as hex or base64url back into bytes, for example when comparing password hashes or decoding a JWT payload.
Glossary: Building APIs with Node.js
Also written: Buffer.from
Node's type for raw bytes. It is used to turn text such as hex or base64url back into bytes, for example when comparing password hashes or decoding a JWT payload.