int ntfs_write_significant_bytes (s8 * dst, const s8 * dst_max, const s64 n);
Store in dst, the minimum bytes of the number n which are required to identify n unambiguously as a signed number, taking care not to exceed dest_max, the maximum position within dst to which we are allowed to write.
This is used when building the mapping pairs array of a runlist to compress a given logical cluster number (lcn) or a specific run length to the minumum size possible.
Return the number of bytes written on success. On error, i.e. the destination buffer dst is too small, return -ENOSPC.