Initial commit
This commit is contained in:
12
test2.py
Executable file
12
test2.py
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
zlibHeader = bytearray()
|
||||
zlibLength = 300309
|
||||
|
||||
zlibHeader.append( (zlibLength>>24) & 0xFF )
|
||||
zlibHeader.append( (zlibLength>>16) & 0xFF )
|
||||
zlibHeader.append( (zlibLength>>8) & 0xFF )
|
||||
zlibHeader.append( zlibLength & 0xFF )
|
||||
|
||||
print(zlibHeader)
|
||||
Reference in New Issue
Block a user