- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Jul 2019 08:41:41 +0000
- To: public-web-nfc@w3.org
The following commits were just pushed by kenchris to https://github.com/w3c/web-nfc: * Replace NDEFRecordData data() with multiple getters ``` [NewObject] USVString toText(); [NewObject] ArrayBuffer toArrayBuffer(); [NewObject] any toJSON(); ``` - Define a concept named "bytes" for NDEFRecord object aim to replace the "record's data" in NFC reading algorithm as which was removed from spec. - Add algorithm for converting the NDEFRecord object's associated bytes to a given type for above getters. - Update examples and miscs. by Wanming Lin https://github.com/w3c/web-nfc/commit/806506a25c35833695ab34ad0397055ecd4356e2 * Addressed most of the comments by Wanming Lin https://github.com/w3c/web-nfc/commit/c503aa23000d710a3343cfb96ff1d7a4166416ab * Simplified re-throw exceptions sentence by Wanming Lin https://github.com/w3c/web-nfc/commit/e4fe46762cb0c7a3780acab7e4d78d5b5d75a6bf * Fixedup! Addressed more comments by Wanming Lin https://github.com/w3c/web-nfc/commit/7cf6bfdbdee0b5b0599f3fefc38b6110deda3569 * Handle UTF-16 decoding in 'convert NDEFRecord's bytes' algorithm by Wanming Lin https://github.com/w3c/web-nfc/commit/c2063d3714a8ded17bd732ee035d04b39297e3b9
Received on Tuesday, 30 July 2019 08:41:43 UTC