public void writeUnsignedIntAsDec(int value) throws IOException {
        if (value < 0) {
            writeSignedLongAsDec(value & 0xFFFFFFFFL);
        } else {
            writeSignedIntAsDec(value);
        }
    }
@Test
    public void testWriteUnsignedIntAsDec() throws IOException {
        Assert.assertEquals("4294967295", performWriteUnsignedIntAsDec(-1));
        Assert.assertEquals("2147483647", performWriteUnsignedIntAsDec(Integer.MAX_VALUE));
        Assert.assertEquals("2147483648", performWriteUnsignedIntAsDec(Integer.MIN_VALUE));
        Assert.assertEquals("0", performWriteUnsignedIntAsDec(0));
        Assert.assertEquals("1", performWriteUnsignedIntAsDec(1));
    }