RawMlUtils class

Constructors

RawMlUtils.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

determineFlowPartType(MobiRawml rawml, int partNumber) MobiFileType
determineResourceType(MobiPdbRecord record) MobiFileType
findAttrValue(Uint8List flowData, int start, int end, MobiFileType type, String needle) MobiResult
getAttributeValue(Uint8List data, int size, String attribute, bool onlyQuoted) → (int, String)
getFlowByFid(MobiRawml rawml, Uint8List fid) MobiPart?
getFlowByUid(MobiRawml rawml, int uid) MobiPart?
getIdByOffset(MobiPart html, int offset, MobiAttrType prefAttr) → (String, MobiAttrType)
getIdByPosOff(MobiRawml rawml, int posFid, int posOff, MobiAttrType prefAttr) → (int, String, MobiAttrType)
getIndxEntryTagValue(MobiIndexEntry entry, int tagId, int tagIndex) int
getOffSetByPosOff(MobiRawml rawml, int posFid, int posOff) → (int, int)
getPartByUid(MobiRawml rawml, int uid) MobiPart
getRawml(MobiData data, int length) Uint8List
getStringOrdt(MobiOrdt ordt, MobiBuffer buf, int length) String
indxGetLabel(MobiBuffer buf, int length, bool hasLigatures) String
ordtGetBuffer(MobiOrdt ordt, MobiBuffer buf, int offset) → (int, int)
ordtLookup(MobiOrdt ordt, int offset) int
parseIdxt(MobiBuffer buf, MobiIdxt idxt, int entriesCount) → void
parseIndex(MobiData data, MobiIndx indx, int indxRecordNumber) → void
parseIndexEntry(MobiIndx indx, MobiIdxt idxt, MobiTagx tagx, MobiOrdt ordt, MobiBuffer buf, int currNumber) → void
parseIndx(MobiPdbRecord indxRecord, MobiIndx indx, MobiTagx tagx, MobiOrdt ordt) → void
parseOrdt(MobiBuffer buf, MobiOrdt ordt) → void
parseTagx(MobiBuffer buf, MobiTagx tagx) → void
processReplica(Uint8List text, int length) Uint8List
reconstructFlow(MobiRawml rawml, Uint8List text, int length) → void
reconstructLinksKf7(MobiRawml rawml) → void
reconstructLinksKf8(MobiRawml rawml) → void
reconstructParts(MobiRawml rawml) → void
reconstructResources(MobiData data, MobiRawml rawml) → void
searchLinksKf8(Uint8List data, int start, int end, MobiFileType type) MobiResult