type

Bin

@Js
const class Bin : Obj

Bin is a tag value for a binary file stored on disk rather than in the in-memory record database. The Bin instance itself stores the MIME type.

constructors

make

Construct with mime type string.

fields

defVal

Bin for "text/plain; charset=utf-8".

mime

MimeType of the bin file.

methods

Slot Details

defVal

const static Bin defVal := utf-8")

Bin for "text/plain; charset=utf-8".

equals

virtual override Bool equals(Obj? that)

hash

virtual override Int hash()

make

static new make(Str mime)

Construct with mime type string.

mime

const MimeType mime

MimeType of the bin file.

toStr

virtual override Str toStr()