java/core/src/main/java/org/bondlib/VarUIntHelper.java [68:92]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        int length = 1;

        // byte 0 (needs a special case to test for negative)
        if (unsignedValue >= 0x80 || unsignedValue < 0) {
            outputStream.write((byte) (unsignedValue | 0x80));
            unsignedValue >>>= 7;
            length = 2;

            // byte 1
            if (unsignedValue >= 0x80) {
                outputStream.write((byte) (unsignedValue | 0x80));
                unsignedValue >>>= 7;
                length = 3;

                // byte 2
                if (unsignedValue >= 0x80) {
                    outputStream.write((byte) (unsignedValue | 0x80));
                    unsignedValue >>>= 7;
                    length = 4;

                    // byte 3
                    if (unsignedValue >= 0x80) {
                        outputStream.write((byte) (unsignedValue | 0x80));
                        unsignedValue >>>= 7;
                        length = 5;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/core/src/main/java/org/bondlib/VarUIntHelper.java [113:137]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        int length = 1;

        // byte 0 (needs a special case to test for negative)
        if (unsignedValue >= 0x80 || unsignedValue < 0) {
            outputStream.write((byte) (unsignedValue | 0x80));
            unsignedValue >>>= 7;
            length = 2;

            // byte 1
            if (unsignedValue >= 0x80) {
                outputStream.write((byte) (unsignedValue | 0x80));
                unsignedValue >>>= 7;
                length = 3;

                // byte 2
                if (unsignedValue >= 0x80) {
                    outputStream.write((byte) (unsignedValue | 0x80));
                    unsignedValue >>>= 7;
                    length = 4;

                    // byte 3
                    if (unsignedValue >= 0x80) {
                        outputStream.write((byte) (unsignedValue | 0x80));
                        unsignedValue >>>= 7;
                        length = 5;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



