Skip to main content

BinaryStream

Project description

BinaryStream-Python

BinaryStream Library written in Python
A python version of Binarystream

Install

pip install mcbe-binarystream

Usage

stream = BinaryStream()
stream.writeByte(1)
stream.writeUnsignedChar(2)
stream.writeUnsignedShort(3)
stream.writeUnsignedInt(4)
stream.writeUnsignedInt64(5)
stream.writeBool(True)
stream.writeDouble(6)
stream.writeFloat(7)
stream.writeSignedInt(8)
stream.writeSignedInt64(9)
stream.writeSignedShort(10)
stream.writeUnsignedVarInt(11)
stream.writeUnsignedVarInt64(12)
stream.writeVarInt(13)
stream.writeVarInt64(14)
stream.writeNormalizedFloat(1.0)
stream.writeSignedBigEndianInt(16)
stream.writeString("17")
stream.writeUnsignedInt24(18)
buffer = stream.getAndReleaseData()

License

  • Please note that this project is licensed under the LGPLv3.
  • If you modify or distribute this project, you must comply with the requirements of the LGPLv3 license, including but not limited to providing the complete source code and retaining the copyright notices. For more detailed information, please visit the GNU Official Website.

Copyright 漏 2025 GlacieTeam. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcbe_binarystream-1.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcbe_binarystream-1.0.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file mcbe_binarystream-1.0.0.tar.gz.

File metadata

  • Download URL: mcbe_binarystream-1.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for mcbe_binarystream-1.0.0.tar.gz
Algorithm Hash digest
SHA256 263cdfda165e3f8f0287bb0a9e45226e1f2127d47345d0c2476ec6e0772c5784
MD5 4789f78c88fd286647f075727b2b48e7
BLAKE2b-256 9f4ffa72a1d35efda450662feb7c3fb8e9f12a36feac059fabc2d68cba82262d

See more details on using hashes here.

File details

Details for the file mcbe_binarystream-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcbe_binarystream-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51aed40938d9922c45aa2a85d6c0c8aadeebbadcb27dcea62164f9583728249c
MD5 9aaa590e44b8584b350acd39e93aaa16
BLAKE2b-256 188f14d6de5df6f9e5b668a3a644680cb453c0baf1e92f5beab44a65d01d87fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page