static byte[] i2osp2(short v) {
        return new byte[] { (byte)(v >>> 8), (byte)(v & 0xff) };
    }
<pre>
I2OSP(n, w):
Convert non-negative integer n to a w-length, big-endian byte string,
as described in [RFC8017].
</pre>

We provide a simple <code>2OSP(n, 2)</code> specialization since we don't need to
encode arbitrary BigIntegers for labels.
security-utils/src/main/java/com/yahoo/security/hpke/LabeledKdfUtils.java