@Override
        public String toString()
        {
            int size = list.size();
            if (size == 0)
            {
                return "[]";
            }
            StringBuilder sb = new StringBuilder();
            sb.append("[");
            appendString(sb, list.get(0));
            for (int i = 1; i != size; i++)
            {
                sb.append(",");
                appendString(sb, list.get(i));
            }
            sb.append("]");
            return sb.toString();
        }
Implementation of the msgpack mutable array

@author Alex Shvid
protostuff-msgpack/src/main/java/io/protostuff/MsgpackGenerator.java