Skip to content

Commit

Permalink
Merge b0cfff3 into e9c1ef4
Browse files Browse the repository at this point in the history
  • Loading branch information
catlee committed Jan 20, 2015
2 parents e9c1ef4 + b0cfff3 commit d9a2923
Show file tree
Hide file tree
Showing 10 changed files with 392 additions and 280 deletions.
File renamed without changes.
13 changes: 13 additions & 0 deletions mardor/bits.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import struct


def packint(i):
return struct.pack(">L", i)


def unpackint(s):
return struct.unpack(">L", s)[0]


def unpacklongint(s):
return struct.unpack(">Q", s)[0]

0 comments on commit d9a2923

Please sign in to comment.