CNAS取数仪器端升级
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
7.4KB

  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>lzfse-net</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Lzfse.LzfseCompressor">
  8. <summary>
  9. Provides methods for compressing and decompressing data using LZFSE.
  10. </summary>
  11. </member>
  12. <member name="M:Lzfse.LzfseCompressor.Decompress(System.Byte[],System.Byte[])">
  13. <summary>
  14. Decompresses a LZFSE compressed buffer.
  15. </summary>
  16. <param name="buffer">
  17. The buffer to decompress.
  18. </param>
  19. <param name="decompressedBuffer">
  20. The buffer into which to decompress the data.
  21. </param>
  22. <returns>
  23. The number of bytes written to <paramref name="decompressedBuffer"/>.
  24. </returns>
  25. </member>
  26. <member name="M:Lzfse.LzfseCompressor.Decompress(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
  27. <summary>
  28. Decompresses a LZFSE compressed buffer.
  29. </summary>
  30. <param name="buffer">
  31. The buffer to decompress.
  32. </param>
  33. <param name="offset">
  34. The offset at which to start reading from <paramref name="buffer"/>.
  35. </param>
  36. <param name="length">
  37. The amount of bytes to read from <paramref name="buffer"/>.
  38. </param>
  39. <param name="decompressedBuffer">
  40. The buffer into which to decompress the data.
  41. </param>
  42. <param name="decompressedOffset">
  43. The offset at which to start writing to <paramref name="decompressedBuffer"/>.
  44. </param>
  45. <param name="decompressedLength">
  46. The amount of bytes to write to <paramref name="decompressedBuffer"/>.
  47. </param>
  48. <returns>
  49. The number of bytes written to <paramref name="decompressedBuffer"/>.
  50. </returns>
  51. </member>
  52. <member name="M:Lzfse.LzfseCompressor.Compress(System.Byte[],System.Byte[])">
  53. <summary>
  54. Compresses a buffer using LZFSE.
  55. </summary>
  56. <param name="buffer">
  57. The buffer to compress.
  58. </param>
  59. <param name="compressedBuffer">
  60. The buffer into which to save the compressed data.
  61. </param>
  62. <returns>
  63. The number of bytes written to <paramref name="compressedBuffer"/>.
  64. </returns>
  65. </member>
  66. <member name="M:Lzfse.LzfseCompressor.Compress(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
  67. <summary>
  68. Compresses a buffer using LZFSE.
  69. </summary>
  70. <param name="buffer">
  71. The buffer to compress.
  72. </param>
  73. <param name="offset">
  74. The offset at which to start reading from <paramref name="buffer"/>.
  75. </param>
  76. <param name="length">
  77. The amount of bytes to read from <paramref name="buffer"/>.
  78. </param>
  79. <param name="compressedBuffer">
  80. The buffer into which to save the compressed data.
  81. </param>
  82. <param name="compressedOffset">
  83. The offset at which to start writing to <paramref name="compressedBuffer"/>.
  84. </param>
  85. <param name="compressedLength">
  86. The amount of bytes to write to <paramref name="compressedBuffer"/>.
  87. </param>
  88. <returns>
  89. The number of bytes written to <paramref name="compressedBuffer"/>.
  90. </returns>
  91. </member>
  92. <member name="T:Lzfse.NativeMethods">
  93. <summary>
  94. Provides P/Invoke declarations for working with lzfse.
  95. </summary>
  96. </member>
  97. <member name="M:Lzfse.NativeMethods.lzfse_decode_buffer(System.Byte*,System.UIntPtr,System.Byte*,System.UIntPtr,System.Void*)">
  98. <summary>
  99. Decompress a buffer using LZFSE.
  100. </summary>
  101. <param name="decompressedBuffer">
  102. Pointer to the first byte of the destination buffer.
  103. </param>
  104. <param name="decompressedSize">
  105. Size of the destination buffer in bytes.
  106. </param>
  107. <param name="compressedBuffer">
  108. Pointer to the first byte of the source buffer.
  109. </param>
  110. <param name="compressedSize">
  111. Size of the source buffer in bytes.
  112. </param>
  113. <param name="scratchBuffer">
  114. If non-<see langword="null"/>, a pointer to scratch space for the routine to use as workspace;
  115. the routine may use up to <see cref="M:Lzfse.NativeMethods.lzfse_decode_scratch_size"/> bytes of workspace
  116. during its operation, and will not perform any internal allocations. If
  117. <see langword="null"/>, the routine may allocate its own memory to use during operation via
  118. a single call to <c>malloc()</c>, and will release it by calling <c>free()</c> prior
  119. to returning. For most use, passing <see langword="null"/> is perfectly satisfactory, but if
  120. you require strict control over allocation, you will want to pass an
  121. explicit scratch buffer.
  122. </param>
  123. <returns>
  124. The amount of bytes written to <paramref name="compressedBuffer"/>.
  125. </returns>
  126. </member>
  127. <member name="M:Lzfse.NativeMethods.lzfse_encode_buffer(System.Byte*,System.UIntPtr,System.Byte*,System.UIntPtr,System.Void*)">
  128. <summary>
  129. Compress a buffer using LZFSE.
  130. </summary>
  131. <param name="compressedBuffer">
  132. Pointer to the first byte of the destination buffer.
  133. </param>
  134. <param name="compressedSize">
  135. Size of the destination buffer in bytes.
  136. </param>
  137. <param name="decompressedBuffer">
  138. Pointer to the first byte of the source buffer.
  139. </param>
  140. <param name="decompressedSize">
  141. Size of the source buffer in bytes.
  142. </param>
  143. <param name="scratchBuffer">
  144. If non-<see langword="null"/>, a pointer to scratch space for the routine to use as workspace;
  145. the routine may use up to <see cref="M:Lzfse.NativeMethods.lzfse_decode_scratch_size"/> bytes of workspace
  146. during its operation, and will not perform any internal allocations. If
  147. <see langword="null"/>, the routine may allocate its own memory to use during operation via
  148. a single call to <c>malloc()</c>, and will release it by calling <c>free()</c> prior
  149. to returning. For most use, passing <see langword="null"/> is perfectly satisfactory, but if
  150. you require strict control over allocation, you will want to pass an
  151. explicit scratch buffer.
  152. </param>
  153. <returns>
  154. The amount of bytes written to <paramref name="decompressedBuffer"/>.
  155. </returns>
  156. </member>
  157. <member name="M:Lzfse.NativeMethods.lzfse_decode_scratch_size">
  158. <summary>
  159. Get the required scratch buffer size to decompress using LZFSE.
  160. </summary>
  161. <returns>
  162. The required scratch buffer size to decompress using LZFSE.
  163. </returns>
  164. </member>
  165. </members>
  166. </doc>