MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxMapperSkip

Function fxMapperSkip

xs/sources/xsAPI.c:2441–2449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2439}
2440
2441void fxMapperSkip(txMapper* self, size_t size)
2442{
2443 size_t offset = self->bufferOffset + size;
2444 while ((offset >= self->bufferSize) && (self->bufferSize > 0)) {
2445 offset -= self->bufferSize;
2446 fxMapperStep(self);
2447 }
2448 self->bufferOffset = offset;
2449}
2450
2451void fxMapperStep(txMapper* self)
2452{

Callers 2

fxMapArchiveFunction · 0.85
fxMapperMapIDsFunction · 0.85

Calls 1

fxMapperStepFunction · 0.85

Tested by

no test coverage detected