The Past, Present, and Future of JavaScript by Axel Rauschmayer

The Past, Present, and Future of JavaScript by Axel Rauschmayer

Author:Axel Rauschmayer [Axel Rauschmayer]
Language: eng
Format: epub, mobi, pdf
Tags: COMPUTERS / Programming Languages / JavaScript
ISBN: 9781449339968
Publisher: O'Reilly Media
Published: 2012-07-19T04:00:00+00:00


Binary data

JavaScript is increasingly used in areas where it has to process binary data as efficiently as possible. Examples: handle network protocols, decode video, interoperate with native APIs and processors, and encode and decode various serialization formats. In order to support these use cases, there is a proposal for binary data types:

const Point = new StructType({ x: uint32, y: uint32 }); const Triangle = new ArrayType(Point, 3); let pt = new Triangle([ { x: 0, y: 3 }, { x: 0, y: 3 }, { x: 0, y: 3 } ]);

Point and Triangle are binary data types, and can be used to parse and generate binary data.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.