mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(PngFormat.FindChunk): method made static and public.
This commit is contained in:
parent
1200a610f4
commit
490bf8eaff
@ -178,9 +178,8 @@ namespace GameRes
|
|||||||
return meta;
|
return meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
long FindChunk (Stream stream, string chunk)
|
public static long FindChunk (Stream stream, string chunk)
|
||||||
{
|
{
|
||||||
char[] find_name = chunk.ToCharArray();
|
|
||||||
long found_offset = -1;
|
long found_offset = -1;
|
||||||
var file = new ArcView.Reader (stream);
|
var file = new ArcView.Reader (stream);
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user