lib/MumbleSocket.js
function( socket ) {
    var self = this;
    this.buffers = [];
    this.readers = [];
    this.length = 0;
    this.socket = socket;

    // Register the data callback to receive data from Mumble server.
    socket.on( 'data', function( data ) {
        self.receiveData( data );
    } );
}
function( socket ) {
    var self = this;
    this.buffers = [];
    this.readers = [];
    this.length = 0;
    this.socket = socket;

    // Register the data callback to receive data from Mumble server.
    socket.on( 'data', function( data ) {
        self.receiveData( data );
    } );
}
function ( socket ) { var self = this ; this . buffers = [ ] ; this . readers = [ ] ; this . length = 0 ; this . socket = socket ; // Register the data callback to receive data from Mumble server. socket . on ( 'data' , function ( data ) { self . receiveData ( data ) ; } ) ; }
Mumble network protocol wrapper for an SSL socket

@private

@constructor
@this {MumbleSocket}
@param {Socket} socket
SSL socket to be wrapped.
The socket must be connected to the Mumble server.
Mumble network protocol wrapper for an SSL socket