[otBase] Use int.from/to_bytes() instead of struct.[un]pack() Should be faster but I haven't measured. Is definitely simpler.