API Version: 8.0
Library Version: 8.17
Generated by gi-docgen 2025.3
unsigned char* vips_source_sniff ( VipsSource* source, size_t length )
Return a pointer to the first few bytes of the file. If the file is too short, return NULL.
length
Type: size_t
size_t
Number of bytes to sniff.
Type: unsigned char*
unsigned char*
A pointer to the bytes at the start of the file, or NULL on error.