We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1823f64 commit 21fea6fCopy full SHA for 21fea6f
modules/typesniffer/typesniffer.go
@@ -83,6 +83,7 @@ func (ct SniffedType) GetMimeType() string {
83
return strings.SplitN(ct.contentType, ";", 2)[0]
84
}
85
86
+// https://en.wikipedia.org/wiki/ISO_base_media_file_format#File_type_box
87
func detectFileTypeBox(data []byte) (brands []string, found bool) {
88
if len(data) < 12 {
89
return nil, false
0 commit comments