From 8905a622336664d66de462bbbaffea5acc26026f Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 12 Nov 2016 07:14:22 -0500 Subject: Document the TIFF image functions. Correct related documentation. --- compare.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'compare.go') diff --git a/compare.go b/compare.go index edc1ae4..416e545 100644 --- a/compare.go +++ b/compare.go @@ -113,9 +113,8 @@ func CompareBytes(sl1, sl2 []byte) (err error) { } // ComparePDFs reads and compares the full contents of the two specified -// readers. The comparison is done byte-for-byte with the exception of the -// CreationDate fields which are effectively ignored. Nil is returned if the -// buffers are equal, otherwise an error. +// readers byte-for-byte. Nil is returned if the buffers are equal, otherwise +// an error. func ComparePDFs(rdr1, rdr2 io.Reader) (err error) { var b1, b2 *bytes.Buffer _, err = b1.ReadFrom(rdr1) @@ -129,10 +128,8 @@ func ComparePDFs(rdr1, rdr2 io.Reader) (err error) { } // ComparePDFFiles reads and compares the full contents of the two specified -// files. The comparison is done byte-for-byte with the exception of the -// CreationDate fields which are effectively ignored. Nil is returned if the -// file contents are equal, or if the second file is missing, otherwise an -// error. +// files byte-for-byte. Nil is returned if the file contents are equal, or if +// the second file is missing, otherwise an error. func ComparePDFFiles(file1Str, file2Str string) (err error) { var sl1, sl2 []byte sl1, err = ioutil.ReadFile(file1Str) -- cgit v1.2.1-24-ge1ad