MicroPython/ustruct.py

changeset 2
2c3f30af031d
equal deleted inserted replaced
1:afcd3f0662b1 2:2c3f30af031d
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the def 'ustruct' module.
8 """
9
10 def calcsize(fmt):
11 pass
12
13 def pack(fmt, *variables):
14 pass
15
16 def pack_into(fmt, buffer, offset, *variables):
17 pass
18
19 def unpack(fmt, data):
20 pass
21
22 def unpack_from(fmt, data, offset=0):
23 pass

eric ide

mercurial