ServerJS/Binary: Difference between revisions

(New page: == Binary Data == JavaScript does not have a binary data type. However, in server-side scenarios, binary data needs to be often processed. That is why we need some working <tt>Binary()</t...)
 
Line 14: Line 14:
   */
   */
  function Binary(initialData) {};
  function Binary(initialData) {};
/**
  * Returns the number of bytes stored in this structure.
  * This is intentionally named "getLength" instead of "length" to indicate a method (and not a property).
  * @returns {number}
  */
Binary.prototype.getLength = function() {};


  /**
  /**
15

edits