10 lines
213 B
Python
10 lines
213 B
Python
from typing import BinaryIO
|
|
|
|
|
|
def sfc_get_info(opt: str, inf: BinaryIO):
|
|
match opt:
|
|
case 'title':
|
|
inf.seek(4016)
|
|
return inf.read(2)
|
|
case _:
|
|
return 'Unknown'
|