SerializeWriter out = new SerializeWriter(1);
out.append("abc");
Assert.assertEquals("abc", out.toString());
Assert.assertEquals(3, out.toCharArray().length);
Assert.assertEquals(3, out.size());
out.reset();
Assert.assertEquals("", out.toString());
Assert.assertEquals(0, out.toCharArray().length);
Assert.assertEquals(0, out.size());
out.writeInt(Integer.MIN_VALUE);
Assert.assertEquals(Integer.toString(Integer.MIN_VALUE), out.toString());