public static async Task Test_Can_Deserialize_AuthLogonProofResponse()
        {
            //arrange
            SerializerService serializer = new SerializerService();

            serializer.RegisterType <AuthPacketBaseTest>();
            serializer.RegisterType <AuthLogonProofResponse>();
            serializer.Link <AuthLogonProofResponse, AuthPacketBaseTest>();

            serializer.Compile();
            //act
            AuthPacketBaseTest test = await serializer.DeserializeAsync <AuthPacketBaseTest>(new DefaultStreamReaderStrategyAsync(realWorldBytes.Skip(1).ToArray())
                                                                                             .PeekWithBufferingAsync()
                                                                                             .PreprendWithBytesAsync(new byte[] { 0x01 })
                                                                                             .PreprendWithBytesAsync(new byte[] { 2 }));
        }
 public override void Write(AuthPacketBaseTest value, Span <byte> buffer, ref int offset)
 {
     AuthLogonProofResponse_Serializer.Instance.InternalWrite(this, buffer, ref offset);
 }