Added buffer reading/writing