- From: Cameron McCormack via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Oct 2015 22:20:49 +0000
- To: public-web-bluetooth-log@w3.org
The suggestion there is to dissuade people from using Uint8Array as a "generic buffer of data" type, when ArrayBuffer is more appropriate for that. If you want you can provide a DataView, but is it possible that for a given characteristic it might be more convenient for the author to have a different typed array view of the buffer, and so you should leave the choice of whether to wrap the buffer in a DataView or one of the other types up to them? -- GitHub Notif of comment by heycam See https://github.com/WebBluetoothCG/web-bluetooth/issues/172#issuecomment-147536666
Received on Monday, 12 October 2015 22:20:51 UTC