I've just added code to bzr head to support passing in the array argument to glReadPixels, but haven't found glWritePixels to alter that.