From 6021704ba33278e7ef46c14e11d84b5065031296 Mon Sep 17 00:00:00 2001 From: David Howden Date: Tue, 30 Jun 2015 08:57:03 +1000 Subject: [PATCH] Seek over next_item_id instead of reading it. --- sum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sum.go b/sum.go index f693fd9..7d38367 100644 --- a/sum.go +++ b/sum.go @@ -70,7 +70,7 @@ func SumAtoms(r io.ReadSeeker) (string, error) { switch name { case "meta": // next_item_id (int32) - _, err := readBytes(r, 4) + _, err := r.Seek(4, os.SEEK_CUR) if err != nil { return "", err }