Ejemplo n.º 1
0
 /// <summary>
 /// Decodes the PRS compressed stream and returns the size of the PRS compressed
 /// file, if it were to be decompressed. This operation is approximately 18 times
 /// faster than decompressing and may be useful in some situations.
 /// </summary>
 /// <param name="data">The individual PRS compressed data to get the size of after decompression.</param>
 /// <param name="dataLength">The length of the individual PRS compressed data array to decompress.</param>
 public unsafe int Estimate(byte *data, int dataLength) => Prs.Estimate(data, dataLength);
Ejemplo n.º 2
0
 /// <summary>
 /// Decodes the PRS compressed stream and returns the size of the PRS compressed
 /// file, if it were to be decompressed. This operation is approximately 18 times
 /// faster than decompressing and may be useful in some situations.
 /// </summary>
 /// <param name="data">The individual PRS compressed data to get the size of after decompression.</param>
 public int Estimate(byte[] data) => Prs.Estimate(data);