fix(network): Adds ConnectUO (#551)
- [X] Adds ability to create new protocol extension packets - [X] Adds freeshard protocol extension support (packet 0xF1) - [X] Adds ConnectUO support - [X] Adds arbitrary read for `CircularBufferReader` and `SpanReader`
This commit is contained in:
parent
76970325a3
commit
5e3b42bf9c
11 changed files with 381 additions and 162 deletions
|
|
@ -10,7 +10,7 @@ namespace Server.Tests
|
|||
public void TestGetBytes(string input, byte[] bytes)
|
||||
{
|
||||
Span<byte> outputBytes = stackalloc byte[input.Length / 2];
|
||||
HexStringConverter.GetBytes(input, outputBytes);
|
||||
input.GetBytes(outputBytes);
|
||||
|
||||
Assert.Equal(bytes, outputBytes.ToArray());
|
||||
Assert.Equal(input, bytes.ToHexString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue