MicroPython/ustruct.py

changeset 2
2c3f30af031d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MicroPython/ustruct.py	Sun Aug 25 19:25:37 2019 +0200
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the def 'ustruct' module.
+"""
+
+def calcsize(fmt):
+    pass
+
+def pack(fmt, *variables):
+    pass
+
+def pack_into(fmt, buffer, offset, *variables):
+    pass
+
+def unpack(fmt, data):
+    pass
+
+def unpack_from(fmt, data, offset=0):
+    pass

eric ide

mercurial