public static void ToByteArray_Invalid(string value, int startIndex, int length, string exceptionParamName)
        {
            Utf8String utf8String = u8(value);

            Assert.Throws <ArgumentOutOfRangeException>(exceptionParamName, () => utf8String.ToByteArray(startIndex, length));
        }