MCPcopy Create free account
hub / github.com/SFML/SFML / stbiw__write_run_data

Function stbiw__write_run_data

extlibs/headers/stb_image/stb_image_write.h:656–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656static void stbiw__write_run_data(stbi__write_context *s, int length, unsigned char databyte)
657{
658 unsigned char lengthbyte = STBIW_UCHAR(length+128);
659 STBIW_ASSERT(length+128 <= 255);
660 s->func(s->context, &lengthbyte, 1);
661 s->func(s->context, &databyte, 1);
662}
663
664static void stbiw__write_dump_data(stbi__write_context *s, int length, unsigned char *data)
665{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected