use padding bytes for our own purpose
compile as pure-c library