MimetypeDetect

Detect content type given bytes and optionally some hints like filename or advertised mimetype.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def fromBytes(bv: ByteVector, hint: MimetypeHint): Mimetype
def fromName(filename: String, advertised: String): Mimetype