org.scalajs.ir
Type members
Classlikes
An optional original name.
An optional original name.
Since an OriginalName
is basically an optional UTF8String
, original
names must always be well-formed Unicode strings. Unpaired surrogates are
not valid.
- Companion:
- object
Wrapper around java.security.MessageDigest.getInstance("SHA-1")
Wrapper around java.security.MessageDigest.getInstance("SHA-1")
An immutable UTF-8 string.
An immutable UTF-8 string.
The contents of a UTF8String
is guaranteed to be a well-formed UTF-8
string.
- Note:
equals()
andhashCode()
, along with==
and##
, are just as broken forUTF8String
as forArray
s. Use the methods in the companion object instead. This is unavoidable because we cannot overrideequals
norhashCode
in anAnyVal
.- Companion:
- object
Helper class to allow for testing of logic.
Helper class to allow for testing of logic.