Import integer conversions from scodec-core