method Buffer.prototype.keysimport { Buffer } from "https://dotland.deno.dev/std@0.177.0/node/buffer.ts"; keys(): IterableIterator<number>Creates and returns an iterator of buf keys (indices). Creates and returns an iterator of buf keys (indices). import { Buffer } from 'buffer'; const buf = Buffer.from('buffer'); for (const key of buf.keys()) { console.log(key); } // Prints: // 0 // 1 // 2 // 3 // 4 // 5 ReturnsIterableIterator<number>