本文整理汇总了C#中ZLibQuality类的典型用法代码示例。如果您正苦于以下问题:C# ZLibQuality类的具体用法?C# ZLibQuality怎么用?C# ZLibQuality使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ZLibQuality类属于命名空间,在下文中一共展示了ZLibQuality类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: compress2
private static extern ZLibError compress2(byte[] dest, ref ulong destLength, byte[] source, int sourceLength, ZLibQuality quality);
示例2: Compress
public ZLibError Compress(byte[] dest, ref int destLength, byte[] source, int sourceLength, ZLibQuality quality)
{
ulong destLengthLong = (ulong)destLength;
ZLibError z = compress2(dest, ref destLengthLong, source, sourceLength, quality);
destLength = (int)destLengthLong;
return z;
}
示例3: Pack
public static ZLibError Pack(byte[] dest, ref int destLength, byte[] source, int sourceLength, ZLibQuality quality)
{
return Compressor.Compress(dest, ref destLength, source, sourceLength, quality);
}
示例4: compress2
internal static extern ZLibError compress2(
byte[] dest, ref int destLength, byte[] source, int sourceLength, ZLibQuality quality);
示例5: _Compress64
private static extern unsafe ZLibError _Compress64(byte[] dest, ref Int32 destLenght, byte[] source, Int32 sourceLenght, ZLibQuality quality);