protect library Null safety

Classes

ListRange
ListRangeIterator
The ListRangeIterator provides more capabilities than a standard iterator, including the ability to get the current position, count remaining items, and move forward/backward within the iterator.
Protect
ProtectResponse

Extensions

AssertionInt
AssertionString
AssertionUint8List
AssertionXmlElement
ProtectList
ProtectString

Constants

UNICODE_BOM → const int
0xfeff
UNICODE_BYTE_ONE_MASK → const int
0xff00
UNICODE_BYTE_ZERO_MASK → const int
0xff
UNICODE_PLANE_ONE_MAX → const int
0xffff
UNICODE_REPLACEMENT_CHARACTER_CODEPOINT → const int
Invalid codepoints or encodings may be substituted with the value U+fffd.
0xfffd
UNICODE_UTF16_HI_MASK → const int
0xffc00
UNICODE_UTF16_LO_MASK → const int
0x3ff
UNICODE_UTF16_OFFSET → const int
0x10000
UNICODE_UTF16_RESERVED_HI → const int
0xdfff
UNICODE_UTF16_RESERVED_LO → const int
0xd800
UNICODE_UTF16_SURROGATE_UNIT_0_BASE → const int
0xd800
UNICODE_UTF16_SURROGATE_UNIT_1_BASE → const int
0xdc00
UNICODE_UTF_BOM_HI → const int
0xfe
UNICODE_UTF_BOM_LO → const int
0xff
UNICODE_VALID_RANGE_MAX → const int
0x10ffff

Functions

codepointsToUtf16CodeUnits(List<int> codepoints, [int offset = 0, int? length, int? replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) List<int>
Encode code points as UTF16 code units.
encodeUtf16le(String str, [bool writeBOM = false]) List<int>
hexlify(List<int> b, int s, int l) String
isFileNotProtected(Uint8List data) bool
newBuf(int sz) → _PROTECTBlob
prepBlob(_PROTECTBlob blob, int pos) → void
readInt16LE(List<int> b, int idx) int
readInt32LE(List<int> b, int idx) int
readUInt8(List<int> b, int idx) int
readUInt16LE(List<int> b, int idx) int
readUInt32LE(List<int> b, int idx) int
toBuffer(List<List<int>> bufs) List<int>
utf16le(List<int> b, int s, int e) String
writeInt32LE(List<int> b, int val, int idx) → void
writeUInt32LE(List<int> b, int val, int idx) → void
zeroFillRightShift(int n, int amount) int