toInts/fromInts, embeddable library