nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
getBOM
nulib
text
unicode
utf16
Gets the BOM of the nwstring if it has one.
Otherwise returns a NUL character.
codepoint
getBOM
(inout(wchar)[] str)
codepoint
getBOM
(nwstring str)
@
nogc
codepoint
getBOM
(
nwstring
str
)
Meta
Source
See Implementation
nulib
text
unicode
utf16
functions
decode
decodeOne
encode
getBOM
getLength
getUTF16Length
toMachineOrder
validate
Gets the BOM of the nwstring if it has one.
Otherwise returns a NUL character.