@Override
        public Singleton readFrom(Input input) throws IOException
        {
            if (0 != input.readUInt32())
                throw new ProtostuffException("Corrupt input.");

            return Singleton.INSTANCE;
        }
Sample delegates for testing.

@author David Yu
@created May 2, 2012
protostuff-runtime/src/test/java/io/protostuff/runtime/SampleDelegates.java