MicroPython/ustruct.py

Wed, 28 Aug 2019 19:53:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 28 Aug 2019 19:53:19 +0200
changeset 6
81a2208f13e4
parent 2
2c3f30af031d
permissions
-rw-r--r--

Started with the stubs for CircuitPython.

# -*- 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