Title: 建议增加 getString 方法 · Issue #4 · CPythoner/ByteBuffer · GitHub
Open Graph Title: 建议增加 getString 方法 · Issue #4 · CPythoner/ByteBuffer
X Title: 建议增加 getString 方法 · Issue #4 · CPythoner/ByteBuffer
Description: std::string getString(uint32_t len) { std::string result((char*)p_buffer_ + position_, len); position_ += len; return result; } std::string getString(uint32_t index, uint32_t len) const { return {p_buffer_ + index, p_buffer_ + index + le...
Open Graph Description: std::string getString(uint32_t len) { std::string result((char*)p_buffer_ + position_, len); position_ += len; return result; } std::string getString(uint32_t index, uint32_t len) const { return {p...
X Description: std::string getString(uint32_t len) { std::string result((char*)p_buffer_ + position_, len); position_ += len; return result; } std::string getString(uint32_t index, uint32_t len) const { return {p...
Opengraph URL: https://github.com/CPythoner/ByteBuffer/issues/4
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"建议增加 getString 方法","articleBody":"```\r\n std::string getString(uint32_t len)\r\n {\r\n std::string result((char*)p_buffer_ + position_, len);\r\n position_ += len;\r\n return result;\r\n }\r\n std::string getString(uint32_t index, uint32_t len) const\r\n {\r\n return {p_buffer_ + index, p_buffer_ + index + len};\r\n }\r\n```","author":{"url":"https://github.com/abevol","@type":"Person","name":"abevol"},"datePublished":"2023-10-15T22:35:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/ByteBuffer/issues/4"}
| 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:13d0f669-43c0-d592-fcca-40df0e7844e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8044:DD525:1FEB21A:2B18C79:6A599D8F |
| html-safe-nonce | a7d1c33e55fd2b95d6e5b917e3665afee5bc236ef425b3d9357e16c1e4032b36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDQ0OkRENTI1OjFGRUIyMUE6MkIxOEM3OTo2QTU5OUQ4RiIsInZpc2l0b3JfaWQiOiIzMDkyMjM2NjgzNzgzNTQ0MjA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d786c64510fbc1e9484cd2a513e9d7497c39f9a97b0e235d2180b9c3119fd7a4 |
| hovercard-subject-tag | issue:1944084733 |
| 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/CPythoner/ByteBuffer/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5041639018e65b57ff2e91e84d93fabfce23a7d6dd6d954cbca142c09d65c0ca/CPythoner/ByteBuffer/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5041639018e65b57ff2e91e84d93fabfce23a7d6dd6d954cbca142c09d65c0ca/CPythoner/ByteBuffer/issues/4 |
| og:image:alt | std::string getString(uint32_t len) { std::string result((char*)p_buffer_ + position_, len); position_ += len; return result; } std::string getString(uint32_t index, uint32_t len) const { return {p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | abevol |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-preview |
| go-import | github.com/CPythoner/ByteBuffer git https://github.com/CPythoner/ByteBuffer.git |
| octolytics-dimension-user_id | 6645605 |
| octolytics-dimension-user_login | CPythoner |
| octolytics-dimension-repository_id | 351674544 |
| octolytics-dimension-repository_nwo | CPythoner/ByteBuffer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 351674544 |
| octolytics-dimension-repository_network_root_nwo | CPythoner/ByteBuffer |
| 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 | 737e0bf019c29d8431b268ae84d528b052789210 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width