Menu

#17 Sharp7 - GetIntAs returns wrong result for negative values

1.0
open
Sharp7 (1)
2018-12-21
2018-12-20
JWagner
No

I did some unit-tests for my project and found this bug.

Take a look to the attached screen.

the byte values in the buffer are
FF FF

the method should return -1, but it dosn't.
It returns 65535.
used verions: sharp7-full-1.0.0

1 Attachments

Discussion

  • Davide Nardella

    Davide Nardella - 2018-12-20

    download the last release

     
  • JWagner

    JWagner - 2018-12-21

    thank you, works with current release now

     

Log in to post a comment.

MongoDB Logo MongoDB