Functions§
- alloc⚠
- Allocate
lenbytes and return a raw pointer. - dealloc⚠
- Free memory previously allocated by
allocor returned byparse/serialize. - parse⚠
- Parse raw JSON bytes into a normalised
HookEventand return it as length-prefixed JSON. - serialize⚠
- Deserialise a
HookResponseJSON and re-serialise it in the format expected by the caller detected during the most recentparsecall.