@Override
    public Integer readObject(ByteBuffer data, Class c) throws IOException {
        return data.getInt();
    }
The Integer serializer serializes...integers. Big surprise.

@author Lars Wesselius
jme3-networking/src/main/java/com/jme3/network/serializing/serializers/IntSerializer.java