static LinkedBuffer newBuffer(int size, char c, int loops)
    {
        LinkedBuffer lb = new LinkedBuffer(size);
        while (loops-- > 0)
        {
            lb.buffer[lb.offset++] = (byte) c;
        }
        return lb;
    }
Tests for base 64 encoding.

@author David Yu
@created Sep 27, 2010
protostuff-api/src/test/java/io/protostuff/B64CodeTest.java