Skip to content

Commit

Permalink
Make FuzzyReader a composit, closing #18
Browse files Browse the repository at this point in the history
  • Loading branch information
glaslos committed Sep 18, 2017
1 parent c7c0685 commit 0057c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tlsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ func hashCalculate(r FuzzyReader) (*Tlsh, error) {

// FuzzyReader interface
type FuzzyReader interface {
Read([]byte) (int, error)
ReadByte() (byte, error)
io.Reader
io.ByteReader
}

//HashReader calculates the TLSH for the input reader
Expand Down

0 comments on commit 0057c01

Please sign in to comment.