var buf = Buffer.from('abcdef');

for (x of buf.values()) {
  console.log(x);
}

              

97
98
99
100
101
102