Event JSON
{
"id": "cc0738cf9201b909af0f50f86e84ff6c90b28f1cadb370ec88c005feefb032b7",
"pubkey": "edec528e82cd64ddc4afefbe32e4b2e9146d5768f5afd4655eb10cb06dc213d3",
"created_at": 1695741785,
"kind": 1,
"tags": [
[
"p",
"ec6e9c3011774a24221c1fa3e1964f2d2d7f68602574ecd0f217235a1bf59c72",
"wss://relay.mostr.pub"
],
[
"p",
"579852afc54f2f4b992d5c48441d63f6545c530a7371764b6e67325d585ea6a1",
"wss://relay.mostr.pub"
],
[
"e",
"4bde11e842f7655c585e61c0cd6753c997e3e04295a2af7af0edadab0da82efb",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"if"
],
[
"proxy",
"https://larkspur.one/objects/7a3667cb-8ac8-442a-aef9-bde691d22777",
"activitypub"
]
],
"content": "Hmmm nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m, doesn’t seem to be POSIX, but most libc seem to provide bswap(3) which I’d use optionally #if the target is big endian, then cast to the target struct.\n\nI don’t think there’s a better way at machine level, e.g. in Zig with comptime and @byteSwap builtin it would look less like a hack but 🤷",
"sig": "98cbef6c1b55fa58a3a5e73e6095ac1c76eefbfe2358124aab86f6c0665c60ebf8e18eb8631134cf2320c9493f511bfc5fd9b1aae4a9cd507392a7c64e9176e7"
}