coolbutuseless on Nostr: #RStat #CodeGolf I need to reverse the order of elements within blocks in a vector. I ...
#RStat #CodeGolf
I need to reverse the order of elements within blocks in a vector.
I will be using this for changing the endian-ness of raw bytes.
Besides a "for-loop" the screenshot shows the only method I could think of.
Anyone have any fresh ideas?
Published at
2024-10-07 00:11:07Event JSON
{
"id": "7ac4b60bd56e1269b761dc93be2d9565a3c27b85e606895716b05dd543681db5",
"pubkey": "173699b289f92e2047ca61605b24260839825f007bd2739eba753e26c87105ba",
"created_at": 1728259867,
"kind": 1,
"tags": [
[
"t",
"rstat"
],
[
"t",
"codegolf"
],
[
"proxy",
"https://fosstodon.org/users/coolbutuseless/statuses/113263238648826037",
"activitypub"
]
],
"content": "#RStat #CodeGolf \n\nI need to reverse the order of elements within blocks in a vector.\n\nI will be using this for changing the endian-ness of raw bytes.\n\nBesides a \"for-loop\" the screenshot shows the only method I could think of.\n\nAnyone have any fresh ideas?\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/263/233/215/484/466/original/d8546c05548cd17a.png",
"sig": "47f24adfe0424a534214868d4f14ef32ebb2446a437c74793febd72e0989ede50984ad2143c23454d3f1afa8d1bbfba78b2b06398e970a4a948bcd605c016b07"
}