Title: Change interface from byte[] to Memory
Open Graph Title: Change interface from byte[] to Memory
X Title: Change interface from byte[] to Memory
Description: It would be great if the interface didn't take plain byte arrays. The reason being that you can't really allocate those easily from a block based system. Memory on the other hand is wrapper (like Span<>) around parts of memory that can b...
Open Graph Description: It would be great if the interface didn't take plain byte arrays. The reason being that you can't really allocate those easily from a block based system. Memory on the other hand is wrapper (like S...
X Description: It would be great if the interface didn't take plain byte arrays. The reason being that you can't really allocate those easily from a block based system. Memory on the other hand is wrapper...
Opengraph URL: https://github.com/Looooong/UnityAsyncImageLoader/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change interface from byte[] to Memory\u003cbyte\u003e","articleBody":"It would be great if the interface didn't take plain byte arrays. The reason being that you can't really allocate those easily from a block based system. Memory\u003cbyte\u003e on the other hand is wrapper (like Span\u003c\u003e) around parts of memory that can be passed around between functions and stored in fields/properties. It supports pinning just like basic arrays do and byte[] should just be convertible to Memory\u003cbyte\u003e so users of your library shouldn't be impacted by the API change.","author":{"url":"https://github.com/Blackclaws","@type":"Person","name":"Blackclaws"},"datePublished":"2023-03-02T13:51:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/13/UnityAsyncImageLoader/issues/13"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:19a01e5f-ab40-396e-3000-1765fe970b2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C20A:1A32E5:9D6028:D33E0C:6A5B4A03 |
| html-safe-nonce | 983a17747f74fc5abe6d2776716aa12ac28e92d94b8f4e1b55004a440b501b57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjBBOjFBMzJFNTo5RDYwMjg6RDMzRTBDOjZBNUI0QTAzIiwidmlzaXRvcl9pZCI6IjI1MjExMDM2OTY2NzY5OTc2MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91355c67cbdc611ed23db0a40ad3df7552e01ad21a7e3b1dd78954353c31f9d9 |
| hovercard-subject-tag | issue:1606844819 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Looooong/UnityAsyncImageLoader/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44b19e4c3111656866db705a109bd50a233ca049971be3e798b3fcb0c79bea70/Looooong/UnityAsyncImageLoader/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44b19e4c3111656866db705a109bd50a233ca049971be3e798b3fcb0c79bea70/Looooong/UnityAsyncImageLoader/issues/13 |
| og:image:alt | It would be great if the interface didn't take plain byte arrays. The reason being that you can't really allocate those easily from a block based system. Memory on the other hand is wrapper (like S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Blackclaws |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/Looooong/UnityAsyncImageLoader git https://github.com/Looooong/UnityAsyncImageLoader.git |
| octolytics-dimension-user_id | 8206622 |
| octolytics-dimension-user_login | Looooong |
| octolytics-dimension-repository_id | 389617796 |
| octolytics-dimension-repository_nwo | Looooong/UnityAsyncImageLoader |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 389617796 |
| octolytics-dimension-repository_network_root_nwo | Looooong/UnityAsyncImageLoader |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width