mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
(Binary.GetCString): added convenient overload.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user