예제 #1
0
 public static int snappy_max_compressed_length(int input_length)
 {
     if (__is64BitProcess)
     {
         return((int)Snappy64NativeMethods.snappy_max_compressed_length((ulong)input_length));
     }
     else
     {
         return((int)Snappy32NativeMethods.snappy_max_compressed_length((uint)input_length));
     }
 }
예제 #2
0
 public static int snappy_max_compressed_length(int input_length)
 {
     return((int)Snappy64NativeMethods.snappy_max_compressed_length((ulong)input_length));
 }