Write an integer to the Xahaud trace log
Write an integer to the trace log along with a message (if any)
C
C
rmead_ptr
uint32_t
Pointer to a message to output before the hex-encoded serialized object found in the slot. May be null.
mread_len
uint32_t
Length of the message. May be null.
number
int64_t
The number.
int64_t
0
if successful
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.
Write the contents of a buffer to the XRPLD trace log
Write a buffer from inside the Hook to the trace log along with a message (if any)
C
C
mread_ptr
uint32_t
Pointer to a message to output before the buffer. May be null.
mread_len
uint32_t
Length of the message. May be null.
dread_ptr
uint32_t
Pointer to the buffer to output.
dread_len
uint32_t
Length of the buffer to output.
as_hex
uint32_t
If 1
output the buffer as hex.
If 0
output the buffer as utf-8.
int64_t
0
if successful
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.
Write a XFL float to the Xahaud trace log
Write a XFL floating point to the trace log along with a message (if any)
C
C
rmead_ptr
uint32_t
Pointer to a message to output before the hex-encoded serialized object found in the slot. May be null.
mread_len
uint32_t
Length of the message. May be null.
float1
int64_t
The enclosing XFL integer.
int64_t
0
if successful
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.