Update comment
This commit is contained in:
@@ -1439,7 +1439,7 @@ size_t ZSTD_generateNxBytes(void* dst, size_t dstCapacity, BYTE byte, size_t len
|
|||||||
|
|
||||||
/** ZSTD_findFrameCompressedSize() :
|
/** ZSTD_findFrameCompressedSize() :
|
||||||
* compatible with legacy mode
|
* compatible with legacy mode
|
||||||
* `src` must point to the start of a ZSTD or ZSTD legacy frame
|
* `src` must point to the start of a ZSTD frame, ZSTD legacy frame, or skippable frame
|
||||||
* `srcSize` must be at least as large as the frame contained
|
* `srcSize` must be at least as large as the frame contained
|
||||||
* @return : the compressed size of the frame starting at `src` */
|
* @return : the compressed size of the frame starting at `src` */
|
||||||
size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize)
|
size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize)
|
||||||
|
|||||||
+1
-1
@@ -401,7 +401,7 @@ typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; v
|
|||||||
***************************************/
|
***************************************/
|
||||||
|
|
||||||
/*! ZSTD_findFrameCompressedSize() :
|
/*! ZSTD_findFrameCompressedSize() :
|
||||||
* `src` should point to the start of a ZSTD encoded frame
|
* `src` should point to the start of a ZSTD encoded frame or skippable frame
|
||||||
* `srcSize` must be at least as large as the frame
|
* `srcSize` must be at least as large as the frame
|
||||||
* @return : the compressed size of the frame pointed to by `src`, suitable to pass to
|
* @return : the compressed size of the frame pointed to by `src`, suitable to pass to
|
||||||
* `ZSTD_decompress` or similar, or an error code if given invalid input. */
|
* `ZSTD_decompress` or similar, or an error code if given invalid input. */
|
||||||
|
|||||||
Reference in New Issue
Block a user