function readSize(dataBuffer, start) {
    precon.buffer(dataBuffer, 'dataBuffer');
    precon.opt_positiveInteger(start, 'start');

    start = start || 0;

    if (dataBuffer.length - start < MIN_BYTES || start >= dataBuffer.length)
        return -1;

    return dataBuffer.readUInt32LE(start);
}
/**
 * Read the size of serialized data in a buffer as specified by the serialized data.
 *
 * @param dataBuffer {Buffer} The buffer containing the serialized data.
 * @param [start=0]  {number} The index position of the start of the data to read.
 *
 * @returns {number} The integer size of the serialized data or -1 if the data isn't valid.
 */
Read the size of serialized data in a buffer as specified by the serialized data.
@param dataBuffer {Buffer} The buffer containing the serialized data.
@param [start=0]  {number} The index position of the start of the data to read.

@returns {number} The integer size of the serialized data or -1 if the data isn't valid.
Read the size of serialized data in a buffer as specified by the serialized data . @param dataBuffer { Buffer } The buffer containing the serialized data . @param [ start = 0 ] { number } The index position of the start of the data to read . @returns { number } The integer size of the serialized data or - 1 if the data isn ' t valid .
function readSize(dataBuffer, start) {
    precon.buffer(dataBuffer, 'dataBuffer');
    precon.opt_positiveInteger(start, 'start');
    start = start || 0;
    if (dataBuffer.length - start < MIN_BYTES || start >= dataBuffer.length)
        return -1;
    return dataBuffer.readUInt32LE(start);
}
function readSize ( dataBuffer , start ) { precon . buffer ( dataBuffer , 'dataBuffer' ) ; precon . opt_positiveInteger ( start , 'start' ) ; start = start || 0 ; if ( dataBuffer . length - start < MIN_BYTES || start >= dataBuffer . length ) return - 1 ; return dataBuffer . readUInt32LE ( start ) ; }
Read the size of serialized data in a buffer as specified by the serialized data.
Read the size of serialized data in a buffer as specified by the serialized data .