Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Text Analyzer</title>
  6.  
  7. <link href="style.css" rel="stylesheet" media="all" />
  8. </head>
  9. <body>
  10.  
  11. <textarea id="text">Prior to the introduction of TypedArray in ECMAScript 2015 (ES6), the JavaScript language had no mechanism for reading or manipulating streams of binary data. The Buffer class was introduced as part of the Node.js API to make it possible to interact with octet streams in the context of things like TCP streams and file system operations.
  12.  
  13. Now that TypedArray has been added in ES6, the Buffer class implements the Uint8Array API in a manner that is more optimized and suitable for Node.js' use cases.
  14.  
  15. Instances of the Buffer class are similar to arrays of integers but correspond to fixed-sized, raw memory allocations outside the V8 heap. The size of the Buffer is established when it is created and cannot be resized.</textarea>
  16. <button id="analyze">Analyze</button>
  17.  
  18. <div id="results">
  19.  
  20. </div>
  21.  
  22. <script src="app.js"></script>
  23. </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement