Re: [web-bluetooth] Helper functions to read values

Will do that tomorrow then. Thanks for the feedback.

On Thu, Jan 7, 2016, 7:15 PM Jeffrey Yasskin 
<notifications@github.com>
wrote:

> Yes, that's great. I think I'd make 2 changes: I'd either default 
the
> byteOffset to 0 or omit it entirely, since if you're reading 
multiple
> items from a single characteristic, you probably want to only call
> readValue once. And I'd default littleEndian to true, since nearly 
all
> Bluetooth values are little-endian, contrary to DataView's default.
>
> —
> Reply to this email directly or view it on GitHub
> 
<https://github.com/WebBluetoothCG/web-bluetooth/issues/126#issuecomment-169760945>
> .
>


-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/126#issuecomment-169764017
 using your GitHub account

Received on Thursday, 7 January 2016 18:28:24 UTC