is16BitBytes static method
Implementation
static bool is16BitBytes(Uint8List bytes) {
final pBytes = malloc<ffi.Uint8>(bytes.length);
pBytes.asTypedList(bytes.length).setAll(0, bytes);
final result = c.stbi_is_16_bit_from_memory(pBytes.cast(), bytes.length);
calloc.free(pBytes);
return result != 0;
}