plugins/mime/mime library
Classes
- MagicNumber
- MimeTypeResolver
- MIME-type resolver class, used to customize the lookup of mime-types.
Constants
- 
    defaultExtensionMap
  → const Map<String, String> 
- 
    initialMagicNumbers
  → const List<MagicNumber> 
- initialMagicNumbersMaxLength → const int
Properties
- defaultMagicNumbersMaxLength → int
- 
  The maximum number of bytes needed, to match all default magic-numbers.
  no setter
Functions
- 
  lookupMimeType(String path, {List< int> ? headerBytes}) → String?
- 
  Extract the extension from pathand use that for MIME-type lookup, using the default extension map.