MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / stbiw__write_run_data

Function stbiw__write_run_data

include/stb_image_write.h:499–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void stbiw__write_run_data(stbi__write_context *s, int length, unsigned char databyte)
500{
501 unsigned char lengthbyte = STBIW_UCHAR(length+128);
502 STBIW_ASSERT(length+128 <= 255);
503 s->func(s->context, &lengthbyte, 1);
504 s->func(s->context, &databyte, 1);
505}
506
507void stbiw__write_dump_data(stbi__write_context *s, int length, unsigned char *data)
508{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected