D binding around magic number recognition library