public static int CalculateDeltaPrefixSize(uint netId) { int num = 4; num += (int)NetStream.PredictNetIdSize(netId); return(num + 50); }
public static uint CalcMaxDeltaBitSizeForScope(uint maxSpaceInBytes, uint netId) { uint num = 4u; num += NetStream.PredictNetIdSize(netId); num += 50; return((maxSpaceInBytes << 3) - num); }