code: def read_next_bytes(
      fid, num_bytes, format_char_sequence, endian_character="<"
  ):
      """Read and unpack the next bytes from a binary file.
      :param fid:
      :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
      :param format_char_sequence: List of {c, e, f, d, h, H, i, I, l, L, q, Q}.
      :param endian_character: Any of {@, =, <, >, !}
      :return: Tuple of read and unpacked values.
      """
      data = fid.read(num_bytes)
      return struct.unpack(
          endian_character + format_char_sequence, data
      )
  
file_path: gaussian-splatting/scene/colmap_loader.py
imports: import numpy
  import collections
  import struct
label_desc: Use image node_id 3 for calling a global function with example usage: read_next_bytes(fid, num_bytes, format_char_sequence, endian_character) and returns: struct