action_indices_bytes
python
action_indices_bytes(action_indices: Sequence[int | np.integer] | bytes | bytearray | None) -> bytes | NoneConvert action indices into the raw byte payload used by the unsafe enqueue path.
Parameters:
action_indices(Sequence[int | integer] | bytes | bytearray | None) – The action indices, orNone.
Returns:
bytes | None– The byte payload, orNonewhen no indices were given.