C# 클래스 Studyzy.LearnEnglishBySubtitle.EngDict.LingoesLd2

파일 보기 프로젝트 열기: studyzy/LearnEnglishBySubtitle

공개 메소드들

메소드 설명
LingoesLd2 ( ) : System
Parse ( string ld2File ) : IList

비공개 메소드들

메소드 설명
BytesToStream ( byte bytes ) : Stream
CopyStream ( Stream stream, long offset, int length ) : Stream
Decompress ( FileStream data, long offset, long length ) : List
Extract ( byte dataRawBytes, int offsetDefs, int offsetXml ) : IList

解析解压后的数据,返回词汇列表

GetIdxData ( byte dataRawBytes, int position, int wordIdxData ) : void

读取二进制数据中的单词Index信息,放入单词IndexData中

Inflate ( FileStream dataRawBytes, long startP, List deflateStreams ) : byte[]
IsChinese ( string str ) : bool
ReadDefinitionData ( byte inflatedBytes, int offsetWords, int offsetXml, int dataLen, Encoding wordStringDecoder, Encoding xmlStringDecoder, int i ) : InternalWord

读取一个词汇的词和解释

ReadDictionary ( FileStream fs, int offsetWithIndex ) : IList
RemoveHtmlTag ( string html ) : string
StreamToBytes ( Stream stream, int length ) : byte[]

메소드 상세

LingoesLd2() 공개 메소드

public LingoesLd2 ( ) : System
리턴 System

Parse() 공개 메소드

public Parse ( string ld2File ) : IList
ld2File string
리턴 IList