method Buffer.prototype.keysRe-exportimport { Buffer } from "https://deno.land/x/iconv_lite@v1.0.2/deps.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>