                 manager.remove(self)
             }
         } catch WebSocketError.NeedMoreInput {
-
+            
         } catch {
             if finalError != nil {
                 return

            inputBytesStart += bufferCount+4
        }
    }

    class ByteReader {
        var start : UnsafePointer<UInt8>
        var end : UnsafePointer<UInt8>

        ws.send(message)
    }
    /**
     Transmits a ping to the server over the WebSocket connection.
     
     :param: optional message The data to be sent to the server.
     */
    public func ping(message : Any){
        if !opened{
            return
