git.ithinksw.org
/
~jspiros
/
python-ebml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Scaled back implementation to standard fixed limits. Implemented all core reading...
[~jspiros/python-ebml.git]
/
ebml
/
files.py
diff --git
a/ebml/files.py
b/ebml/files.py
index
c8cc983
..
d987f96
100644
(file)
--- a/
ebml/files.py
+++ b/
ebml/files.py
@@
-1,17
+1,17
@@
from .schema import *
from .schema import *
-from .core import
read_element_id, read_element_size, read_int, read_uint, read_float, read_string, read_unicode, read_date
+from .core import
*
__all__ = ('EBMLFile', 'MatroskaFile')
TYPE_READERS = {
__all__ = ('EBMLFile', 'MatroskaFile')
TYPE_READERS = {
- INT: read_
int
,
- UINT: read_u
int
,
+ INT: read_
signed_integer
,
+ UINT: read_u
nsigned_integer
,
FLOAT: read_float,
STRING: read_string,
FLOAT: read_float,
STRING: read_string,
- UNICODE: read_unicode,
- DATE:
lambda stream, size: read_date(stream)
+ UNICODE: read_unicode
_string
,
+ DATE:
read_date
}
}