注释更新

This commit is contained in:
Luthics 2023-01-18 12:34:23 +08:00
parent b35d2d6137
commit 047cf6342c
1 changed files with 3 additions and 2 deletions

View File

@ -106,7 +106,7 @@ with open(input_file, 'rb') as f:
################## 文件读入 End ##################
# 十六进制转十进制
# unpack
def byteSize(begin, length):
size = 0
for i in range(length):
@ -114,7 +114,7 @@ def byteSize(begin, length):
return size
# 十进制转十六进制
# pack
def sizeByte(size, length):
b = []
while (size):
@ -453,4 +453,5 @@ with open(output_file, 'wb') as f:
for _ in tqdm(range(len(newimgBytes)), "写出图片中"):
pass
sys.exit(0)
################## 写出文件 End ##################