Skip to content

Extend validation for user-provided MemorySegment#305

Open
Marcono1234 wants to merge 2 commits intoairlift:masterfrom
Marcono1234:memory-segment-checks
Open

Extend validation for user-provided MemorySegment#305
Marcono1234 wants to merge 2 commits intoairlift:masterfrom
Marcono1234:memory-segment-checks

Conversation

@Marcono1234
Copy link

To fail fast when the user provides an invalid or unsupported MemorySegment.

To fail fast when the user provides an invalid or unsupported MemorySegment.
Note that this check already existed for `getByte` and would probably
have already failed before `getAddress` was even called.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant