src/elements/Binary.js
function Binary(value, parameters) {
    abstractions.Element.call(this, utilities.types.BINARY, parameters);

    // analyze the value
    value = value || Buffer.alloc(0);  // the default value is an empty buffer

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Binary(value, parameters) {
    abstractions.Element.call(this, utilities.types.BINARY, parameters);

    // analyze the value
    value = value || Buffer.alloc(0);  // the default value is an empty buffer

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Binary ( value , parameters ) { abstractions . Element . call ( this , utilities . types . BINARY , parameters ) ; // analyze the value value = value || Buffer . alloc ( 0 ) ; // the default value is an empty buffer // since this element is immutable the value must be read-only this . getValue = function ( ) { return value ; } ; return this ; }
PUBLIC CONSTRUCTOR 
This constructor creates an immutable instance of a binary string using the specified
value.

@constructor
@param {Buffer} value a buffer containing the bytes for the binary string.
@param {Parameters} parameters Optional parameters used to parameterize this element.
@returns {Binary} The new binary string.
PUBLIC CONSTRUCTOR This constructor creates an immutable instance of a binary string using the specified value .