read bytes buffer offset fixed