@Override
    protected void transferClassId(Input input, Output output, int fieldNumber,
            boolean mapped, boolean array) throws IOException
    {
        if (mapped)
            input.transferByteRangeTo(output, true, fieldNumber, false);
        else
            output.writeUInt32(fieldNumber, input.readUInt32(), false);
    }
Base class for numeric id strategies.

@author David Yu
@created Mar 28, 2012
protostuff-runtime-registry/src/main/java/io/protostuff/runtime/NumericIdStrategy.java