code: def get_spec_file_offsets(offsets):
      assert len(offsets) == 2 * SpecWriter.bytes_per_offset
      spec_start = int.from_bytes(
          offsets[:8],
          byteorder=SpecWriter.byteorder,
          signed=SpecWriter.signed,
      )
      next_spec_start = int.from_bytes(
          offsets[8:],
          byteorder=SpecWriter.byteorder,
          signed=SpecWriter.signed,
      )
      return (spec_start, next_spec_start - 1)
  
imports: import logging
  from typing import Literal, Tuple
  from hailtop.utils import secret_alnum_string
label_desc: Use image node_id 2 for calling the SpecWriter obj's underlying member method code with example usage: obj.get_spec_file_offsets(offsets) and returns: spec_start,  unknown