summaryrefslogtreecommitdiff
path: root/contrib/ghostscript
diff options
context:
space:
mode:
authorJelmer Snoeck <jelmer.snoeck@gmail.com>2015-11-08 16:12:59 +0000
committerJelmer Snoeck <jelmer.snoeck@gmail.com>2015-11-08 16:12:59 +0000
commite2ec56d7c568860cdd85569054cb1bef1e1c13db (patch)
treebda70cf60fe37e5af19cb2f6f12c3c1207adb149 /contrib/ghostscript
parentb01a0c8ceb33a6dadf297e019e6f836e114a2a6a (diff)
Compare: make `CompareBytes` exported.
All the "magic" of reference comparison happens within the `CompareBytes` function. Reading a file (with `ioutil.ReadFile`) gives you an array of bytes and gofpdf supports writing to a byte buffer, where we can easily get the bytes from. Exporting `CompareBytes` would make it possible to use this core functionality instead of having to convert the data into `io.Reader`.
Diffstat (limited to 'contrib/ghostscript')
0 files changed, 0 insertions, 0 deletions