Package: binaryiotools
BinaryIOToolsDoes boilerplate things like reading the next uint32 from a file or binary streamCreate a new IO object and initialize/ set dataExamplef=open(fileName,'rb')data=f.read()f.close()io=IO(data)width=io.u32height=io.u32The example above reads a file in binary and sets the variables width and height
as the first two unsigned integer 32sFor a file starting with the bytes:00 00 00 C8 00 01 90The values for width and height would be 200, 400LGPLv3?DocumentationInstall With PIPLanguage informationBuilt forInstall Python on WindowsChocolateyWindows - Python.orgInstall Python on LinuxAptDnfInstall Python on MacOSHomebrewMacOS - Python.orgHow to runWindowsLinux/ MacOSDownload ProjectCloneUsing The Command LineUsing GitHub DesktopDownload Zip FileCommunity FilesLicenceChangelogCode of ConductContributingSecuritySupportRationaleLGPLv3?This code is slightly modified fromhttps://github.com/TheHeadlessSourceMan/gimpFormats/blob/master/binaryIO.py(https://github.com/TheHeadlessSourceMan/gimpFormatsbinaryIO.py)
which is under LGPLv3DocumentationSee theDocsfor more information.Install With PIPpipinstallbinaryiotoolsHead tohttps://pypi.org/project/binaryiotools/for more infoLanguage informationBuilt forThis program has been written for Python versions 3.7 - 3.10 and has been tested with both 3.7 and 3.10Install Python on WindowsChocolateychocoinstallpythonWindows - Python.orgTo install Python, go tohttps://www.python.org/downloads/windows/and download the latest
version.Install Python on LinuxAptsudoaptinstallpython3.xDnfsudodnfinstallpython3.xInstall Python on MacOSHomebrewbrewinstallpython@3.xMacOS - Python.orgTo install Python, go tohttps://www.python.org/downloads/macos/and download the latest
version.How to runWindowsModulepython -3.x -m [module]or[module](if module installs a script)Filepython -3.x [file]or./[file]Linux/ MacOSModulepython3.x -m [module]or[module](if module installs a script)Filepython3.x [file]or./[file]Download ProjectCloneUsing The Command LinePress the Clone or download button in the top rightCopy the URL (link)Open the command line and change directory to where you wish to
clone toType 'git clone' followed by URL in step 2gitclonehttps://github.com/FHPythonUtils/BinaryIOToolsMore information can be found athttps://help.github.com/en/articles/cloning-a-repositoryUsing GitHub DesktopPress the Clone or download button in the top rightClick open in desktopChoose the path for where you want and click CloneMore information can be found athttps://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktopDownload Zip FileDownload this GitHub repositoryExtract the zip archiveCopy/ move to the desired locationCommunity FilesLicenceMIT License
Copyright (c) FredHappyface
(See theLICENSEfor more information.)ChangelogSee theChangelogfor more information.Code of ConductOnline communities include people from many backgrounds. TheProjectcontributors are committed to providing a friendly, safe and welcoming
environment for all. Please see theCode of Conductfor more information.ContributingContributions are welcome, please see theContributing Guidelinesfor more information.SecurityThank you for improving the security of the project, please see theSecurity Policyfor more information.SupportThank you for using this project, I hope it is of use to you. Please be aware that
those involved with the project often do so for fun along with other commitments
(such as work, family, etc). Please see theSupport Policyfor more information.RationaleThe rationale acts as a guide to various processes regarding projects such as
the versioning scheme and the programming styles used. Please see theRationalefor more information.