public static unsafe int Decode(byte[] source, byte[] target, int sourceLength) { fixed(byte *sourceP = source) fixed(byte *targetP = target) return(LZ4_64.LZ4_decompress_safe(sourceP, targetP, sourceLength, target.Length)); }
public static unsafe int Decode(byte *source, byte *target, int sourceLength, int targetLength) => LZ4_64.LZ4_decompress_safe(source, target, sourceLength, targetLength);