Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:06:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:! ZSTD_isFrame() :* Tells if the content of `buffer` starts with a valid Frame Identifier.* Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
Proto:unsigned ZSTD_isFrame(const void *buffer, size_t size)
Type:unsigned
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | buffer | |
| size_t | size |
| 174 | If size < 4 Then Return 0 |
| 177 | magic = ZSTD_readLE32(buffer) |
| 180 | If (magic & 0xFFFFFFF0U) == ZSTD_MAGIC_SKIPPABLE_START Then Return 1 |
| 183 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |