class

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 mime

MimeType of the bin file

defVal

Bin for "text/plain

methods toStr

equals

hash

defVal const static Bin : defVal

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

equals virtual Bool equals(Obj? that)

hash virtual Int hash()

make static new make(Str mime)

Construct with mime type string.

mime const MimeType : mime

MimeType of the bin file.

toStr virtual Str toStr()

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST