const blockSize … // ReadAtMost reads at most max bytes from the end of the file identified by path or // returns an error. It returns true if the file was longer than max. It will // allocate up to max bytes. func ReadAtMost(path string, max int64) ([]byte, bool, error) { … }