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 defVal

Bin for "text/plain

mime

MimeType of the bin file

methods equals

hash

toStr

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.6 ∙ 21-Jul-2026 09:48 EDT