Put an octal representation of a value into a buffer
Parameters
- val
- the value to be converted to octal
- buf
- buffer to store the octal string
- offset
- The offset into the buffer where the value starts
- length
- The length of the octal string to create
Return Value
The offset of the character next byte after the octal string