저는 Android 용 새 프로그래머입니다. 제 모국어가 아니기 때문에 제 지식과 영어도 용서해주십시오. . 따라서 "szipinf"라는 태그와 "Initialize inflate state"라는 태그가있는 로그가 있습니다. 의미가 무엇인지 알지 못합니다 ... 또한 휴대 전화로 게임을 테스트 할 때만 나타나는 것으로 나타났습니다. 에뮬레이터에서 나타나지 않습니다. 누군가가 그것이 무엇을 의미하는지 말할 수 있다면 정말 고맙겠습니다."szipinf"라는 텍스트의 의미는 무엇입니까? 텍스트 : Logcat에서 "초기화 상태가 팽창합니다"
7
A
답변
4
하자 로그를 인쇄하는 사람을 찾기 위해 search 소스 코드를 통해이 메시지를 보자. StreamingZipInflater.cpp
: 우리가 묻고 싶은
/*
* Streaming access to compressed data held in an mmapped region of memory
*/
StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) {
...
initInflateState();
}
void StreamingZipInflater::initInflateState() {
LOGV("Initializing inflate state");
...
}
다음 질문은 where이며 어떻게 사용이야? 더 정확하게
/*
* Instances of this class provide read-only operations on a byte stream.
*
* Access may be optimized for streaming, random, or whole buffer modes. All
* operations are supported regardless of how the file was opened, but some
* things will be less efficient.
*
* "Asset" is the base class for all types of assets. The classes below
* provide most of the implementation. The AssetManager uses one of the
* static "create" functions defined here to create a new instance.
*/
: 당신은 renderscript, BitmapFactory
및 기타 장소에서이 클래스의 용도를 찾을 수 있습니다
static Asset* createFromCompressedFile(const char* fileName, AccessMode mode);
압축 파일을 다루는 Asset
의 서브 클래스 인 _CompressedAsset
합니다.