add OutPoint conversion to bytearray