If fact you should really define your 'display' buffer as display=new Uint8Array(8) and then do display.set(graphics.buffer).
display=new Uint8Array(8)
display.set(graphics.buffer)
Espruino shouldn't really let you access the bytes in the 'raw' ArrayBuffer
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If fact you should really define your 'display' buffer as
display=new Uint8Array(8)
and then dodisplay.set(graphics.buffer)
.Espruino shouldn't really let you access the bytes in the 'raw' ArrayBuffer