Add a spec for an extended API for binary data handling

Missing NaN check