add writeData/readData methods on vertex/ index buffers, go on gles