ZSTD_findFrameCompressedSize method

int ZSTD_findFrameCompressedSize(
  1. Pointer<Void> src,
  2. int srcSize
)

! ZSTD_findFrameCompressedSize() : Requires v1.4.0+ src should point to the start of a ZSTD frame or skippable frame. srcSize must be >= first frame size @return : the compressed size of the first frame starting at src, suitable to pass as srcSize to ZSTD_decompress or similar, or an error code if input is invalid

Implementation

int ZSTD_findFrameCompressedSize(
  ffi.Pointer<ffi.Void> src,
  int srcSize,
) {
  return _ZSTD_findFrameCompressedSize(
    src,
    srcSize,
  );
}