mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(Binary.GetCString): added convenient overload.
This commit is contained in:
parent
05b1a3124d
commit
6c7ddb3f2a
@ -101,6 +101,11 @@ namespace GameRes.Utility
|
||||
return GetCString (data, index, length_limit, Encodings.cp932);
|
||||
}
|
||||
|
||||
public static string GetCString (byte[] data, int index)
|
||||
{
|
||||
return GetCString (data, index, data.Length - index, Encodings.cp932);
|
||||
}
|
||||
|
||||
public static uint RotR (uint v, int count)
|
||||
{
|
||||
count &= 0x1F;
|
||||
|
Loading…
x
Reference in New Issue
Block a user