Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
3357979c
Commit
3357979c
authored
Apr 07, 2015
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: remove unused method
parent
2f548dd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
InputFile.java
jadx-core/src/main/java/jadx/core/utils/files/InputFile.java
+0
-25
No files found.
jadx-core/src/main/java/jadx/core/utils/files/InputFile.java
View file @
3357979c
...
...
@@ -74,31 +74,6 @@ public class InputFile {
}
}
public
static
byte
[]
loadXMLBuffer
(
File
file
)
throws
IOException
{
// FIXME: Public.. Please fix
ZipFile
zf
=
new
ZipFile
(
file
);
ZipEntry
xml
=
zf
.
getEntry
(
"AndroidManifest.xml"
);
if
(
xml
==
null
)
{
zf
.
close
();
return
null
;
}
ByteArrayOutputStream
bytesOut
=
new
ByteArrayOutputStream
();
InputStream
in
=
null
;
try
{
in
=
zf
.
getInputStream
(
xml
);
byte
[]
buffer
=
new
byte
[(
int
)
xml
.
getSize
()];
// FIXME: long->int conversion loss
int
count
;
while
((
count
=
in
.
read
(
buffer
))
!=
-
1
)
{
bytesOut
.
write
(
buffer
,
0
,
count
);
}
}
finally
{
if
(
null
!=
in
)
{
in
.
close
();
}
zf
.
close
();
}
return
bytesOut
.
toByteArray
();
}
private
static
Dex
loadFromZip
(
File
file
)
throws
IOException
{
ZipFile
zf
=
new
ZipFile
(
file
);
ZipEntry
dex
=
zf
.
getEntry
(
"classes.dex"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment