Code shared by the MaxMind DB reader and writer modules
