Skip to content

Commit

Permalink
caff: run go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronsor committed Aug 19, 2023
1 parent 013cc2f commit b3759de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions format/caff/caff.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ func decodeCAFF(d *decode.D) any {
d.FieldValueBool("is_obfuscated", entry.isObfuscated)
d.FieldValueUint("compress_option", uint64(entry.compressOption), compressOptionNames)

rawBr := d.FieldRawLen("raw", int64(entry.fileSize) * 8)
rawBr := d.FieldRawLen("raw", int64(entry.fileSize)*8)
rawBytes := make([]byte, entry.fileSize)
if n, err := rawBr.ReadBits(rawBytes, int64(entry.fileSize) * 8); err != nil || n != int64(entry.fileSize) * 8 {
if n, err := rawBr.ReadBits(rawBytes, int64(entry.fileSize)*8); err != nil || n != int64(entry.fileSize)*8 {
return
}

Expand Down

0 comments on commit b3759de

Please sign in to comment.