vcs-svn: make buffer_read_binary API more convenient