Example #1
0
 static PlatformDependent()
 {
     UseDirectBuffer = !SystemPropertyUtil.GetBoolean("io.netty.noPreferDirect", true);
     if (Logger.DebugEnabled)
     {
         Logger.Debug("-Dio.netty.noPreferDirect: {}", !UseDirectBuffer);
     }
 }
Example #2
0
 static PlatformDependent()
 {
     UseDirectBuffer = !SystemPropertyUtil.GetBoolean("io.netty.noPreferDirect", false);
     //if (//Logger.DebugEnabled)
     //{
     //    //Logger.Debug("-Dio.netty.noPreferDirect: {}", !UseDirectBuffer);
     //}
 }
 static PlatformDependent()
 {
     UseDirectBuffer = !SystemPropertyUtil.GetBoolean("io.netty.noPreferDirect", true);
 }