Why is Buffer.from available in Next.js client components but undefined in the browser?

Buffer.from in client components works just fine but when I try it in the browser developer console, it throws

Uncaught ReferenceError: Buffer is not defined