zstd_find_f...pressed_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– zstd_find_frame_compressed_size(9) πŸ’–

okay so real talk, bestie β€” this is a page straight out of the Kernel API Manual, and it's about zstd_find_frame_compressed_size, which fr fr just tells you how big a compressed frame is. that's it. that's the whole vibe. let's get into it πŸŽ€


✨ NAME ✨

zstd_find_frame_compressed_size β€” returns the size of a compressed frame πŸ’…


🌸 SYNOPSIS 🌸

size_t zstd_find_frame_compressed_size (const void *src , size_t
src_size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • src β€” the source buffer, bestie. it should point to the start of a zstd encoded frame, or a skippable frame. no cap, that's the requirement πŸ™ˆ
  • src_size β€” the size of the source buffer. it must be at least as large as the size of the frame. like, at minimum. that's the floor, not a suggestion πŸ’€

⭐ RETURN ⭐

you get back the compressed size of the frame that src points to 🫢 β€” or an error, which you can check with zstd_is_error. and the result is suitable to pass to ZSTD_decompress or similar functions. cute, right? it's giving "hand this straight to the decompressor and go" energy πŸ‘‘


🌈 SEE ALSO 🌈

the kernel file ./include/linux/zstd.h, plus this whole entire friend group:


ok that's genuinely everyone, i'm not skipping a single one of them, i would never do that to you 🧚

and that's the whole page, bestie!! πŸ’œ this came from ./include/linux, dated October 2026, and the header up top was zstd_find_f...pressed_size(9) (yes the title got abbreviated by the manpage formatter, iconic of it honestly 😭). now go measure some frames, you main character πŸ”₯πŸ‘‘βœ¨

πŸ“¦ where this page comes from