Delta-encodes a series of integer samples into a compact buffer.
The samples, in order.
The packed encoding, far smaller than the samples for a slow-moving series.
If a sample is not a whole number, or is past the largest whole number a JavaScript number holds exactly.
Delta-encodes a series of integer samples into a compact buffer.