Skip to content

Commit

Permalink
Fix "length" misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
auyer authored Jan 31, 2020
1 parent 2f6ff9d commit 9df5d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steganography.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func decode(startOffset uint32, msgLen uint32, pictureInputFile image.Image) (me
message []byte decoded from image
*/
func Decode(msgLen uint32, pictureInputFile image.Image) (message []byte) {
return decode(4, msgLen, pictureInputFile) // the offset of 4 skips the "header" where message lenght is defined
return decode(4, msgLen, pictureInputFile) // the offset of 4 skips the "header" where message length is defined

}

Expand Down

0 comments on commit 9df5d4b

Please sign in to comment.