Exemplo n.º 1
0
    public void MinecraftPacketReadVarInt32Test(int expectedValue, byte[] content)
    {
        using var stream = new MinecraftStream(content);

        int value = stream.ReadVarInt32();

        Assert.Equal(expectedValue, value);
    }