for( int i = 0 ; i < 8 ; i++ ) {
bytes[ i ] = buffer.get( /*1 + i*/);
}
long length = new BigInteger( bytes ).longValue();
if( length > Integer.MAX_VALUE ) {
throw new LimitExedeedException( "Payloadsize is to big..." );
} else {
payloadlength = (int) length;
}
}
}