public static CodedOutput newInstance(final OutputStream output, final int bufferSize)
    {
        return new CodedOutput(output, new byte[bufferSize], false);
    }
Create a new {@code CodedOutput} wrapping the given {@code OutputStream} with a given buffer size.
protostuff-core/src/test/java/io/protostuff/CodedOutput.java