code: def uniform(random: Random, n: int) -> bytes:
      """Returns a bytestring of length n, distributed uniformly at random."""
      return random.getrandbits(n * 8).to_bytes(n, "big")
  
imports: import array
  import sys
  import warnings
  from random import Random
  from typing import Callable, Dict, Generic, Iterable, Iterator, List, Optional, Sequence, Tuple, TypeVar, Union, overload
  from hypothesis.errors import HypothesisWarning
label_desc: Use image node_id 4 for calling a global function with example usage: uniform(random, n) and returns: random