Made ReadULong public
This commit is contained in:
parent
a588584673
commit
a94acfe34d
@ -54,7 +54,7 @@ namespace MLAPI.NetworkingManagerComponents.Binary
|
|||||||
public long[] ReadLongArray(int known = -1) => ReadArray(ReadLong, known);
|
public long[] ReadLongArray(int known = -1) => ReadArray(ReadLong, known);
|
||||||
public string ReadString() => Encoding.UTF8.GetString(ReadByteArray());
|
public string ReadString() => Encoding.UTF8.GetString(ReadByteArray());
|
||||||
|
|
||||||
private ulong ReadULong()
|
public ulong ReadULong()
|
||||||
{
|
{
|
||||||
ulong header = ReadByte();
|
ulong header = ReadByte();
|
||||||
if (header <= 240) return header;
|
if (header <= 240) return header;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user