The title says htoh 2, the signature says C4:htoh_1(), the example shows nbo = C4:ntoh_l(0x34120000).
Does htoh (host to host) even make any sense?
I also had to read the whole description to figure out that 'h' means 'host' (I guessed that 'n' means 'network' because it's mentioned at the beginning).
Maybe it would be nice to spell out 'network to host' and 'host to network' somewhere at the beginning of the functions' respective descriptions.
https://control4.github.io/docs-driverworks-api/#ntoh-1
The example also shows the GetCapability functions.
https://control4.github.io/docs-driverworks-api/#htoh-2
The title says htoh 2, the signature says C4:htoh_1(), the example shows nbo = C4:ntoh_l(0x34120000).
Does htoh (host to host) even make any sense?
I also had to read the whole description to figure out that 'h' means 'host' (I guessed that 'n' means 'network' because it's mentioned at the beginning).
Maybe it would be nice to spell out 'network to host' and 'host to network' somewhere at the beginning of the functions' respective descriptions.