예제 #1
0
		public static void Release()
		{
			_instance = null;
		}
예제 #2
0
 public static byte[] MemoryCompress(object obj, AcedCompressionLevel level)
 {
     byte[] objs = SerializerService.Serialize(obj);
     AcedDeflator instance = new AcedDeflator();
     byte[] bytes = instance.Compress(objs, 0, objs.Length, level, 0, 0);
     return bytes;
 }