- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.2k
 
Make sure we treat the ptrs as unsigned #121221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| 
           Please add http test to  See   | 
    
| 
           
  | 
    
| mono_assert(bufferLength > 0, "expected bufferLength > 0"); | ||
| // the bufferPtr is pinned by the caller | ||
| const view = new Span(bufferPtr, bufferLength, MemoryViewType.Byte); | ||
| const view = new Span(<any>((bufferPtr as any) >>> 0), bufferLength, MemoryViewType.Byte); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rather do the conversion in _unsafe_create_view ?
          
  | 
    
No description provided.