projects
/
sandbox
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Serialization/deserialization for lists
[sandbox]
/
serial
/
serial
/
tags.py
1
import collections
2
3
NULL = 0x00
4
TRUE = 0x01
5
FALSE = 0x02
6
UINT8 = 0x03
7
UINT16 = 0x04
8
UINT32 = 0x05
9
UINT64 = 0x06
10
INT8 = 0x10
11
INT16 = 0x11
12
INT32 = 0x12
13
INT64 = 0x13
14
BINARY = 0x20
15
UTF8 = 0x21
16
UTF16 = 0x22
17
UTF32 = 0x23
18
TUPLE = 0x30
19
LIST = 0x31
20
21
TaggedObject = collections.namedtuple(
22
'TaggedObject',
23
[
24
'tag',
25
'instance',
26
],
27
)