SharpAdb / AdvancedSharpAdbClient

AdvancedSharpAdbClient is a .NET library that allows .NET, Mono and Unity applications to communicate with Android devices. It's improved version of SharpAdbClient.
https://sharpadb.github.io
Apache License 2.0
198 stars 54 forks source link

Unable to read beyond the end of the stream. #40

Closed ilamp closed 1 year ago

ilamp commented 1 year ago

Describe the bug

Please leave this open I'm still looking into this. So far I'm getting this error message on only one device. I want to be able to reproduce it and will add more information as I have it.

at System.IO.BinaryReader.InternalRead(Int32 numBytes) at System.IO.BinaryReader.ReadUInt32() at AdvancedSharpAdbClient.FramebufferHeader.Read(Byte[] data) at AdvancedSharpAdbClient.Framebuffer.RefreshAsync(CancellationToken cancellationToken) at AdvancedSharpAdbClient.AdbClient.GetFrameBufferAsync(DeviceData device, CancellationToken cancellationToken) at Device.TakeScreenshot() in E:***Adb.cs:line 26

Steps to reproduce the bug

TODO

Expected behavior

No response

Screenshots

No response

NuGet package version

None

.NET Platform

No response

Platform type

No response

System version

No response

IDE

No response

Additional context

No response