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

from binarystream import *

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.1.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.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcbe_binarystream-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 f12578746eba8885011402685807e2df22ab0ac60a906d2de8a27e4091a4b9e0
MD5 dcea94d3393f1c926ddc79d8a2b12841
BLAKE2b-256 03e756e5ebaf56f79e6414294ad755669f5fbdc4c94cd840f11ee7938d747e97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcbe_binarystream-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8505a1ff671090df87df3b510e10ea68b4ad1698a31ec477103993b3205ac6
MD5 09c4bf1fcaed2a4d587f4416381a5c5f
BLAKE2b-256 c8f16f379a5aaa49b8eec986ce9ed9e810a7ea44b2abbf5eaa578e3e4a30e2f9

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