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.write_byte(1)
stream.write_unsigned_char(2)
stream.write_unsigned_short(3)
stream.write_unsigned_int(4)
stream.write_unsigned_int64(5)
stream.write_bool(True)
stream.write_double(6)
stream.write_float(7)
stream.write_signed_int(8)
stream.write_signed_int64(9)
stream.write_signed_short(10)
stream.write_unsigned_varint(11)
stream.write_unsigned_varint64(12)
stream.write_varint(13)
stream.write_varint64(14)
stream.write_normalized_float(1.0)
stream.write_signed_big_endian_int(16)
stream.write_string("17")
stream.write_unsigned_int24(18)
License
This project is licensed under the Mozilla Public License 2.0 (MPL-2.0).
Key Requirements:
- Modifications to this project's files must be released under MPL-2.0.
- Using this library in closed-source projects is allowed (no requirement to disclose your own code).
- Patent protection is explicitly granted to all users.
For the full license text, see LICENSE file or visit MPL 2.0 Official Page.
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-2.0.1.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcbe_binarystream-2.0.1.tar.gz.
File metadata
- Download URL: mcbe_binarystream-2.0.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9767ff49507963f8f49b3f0270a8836bd85c741c08d76146809f57e2a4033aee
|
|
| MD5 |
8fb6f74cb4898756c008fa463808e2a7
|
|
| BLAKE2b-256 |
424d47e7d9bed889910f47ddd96bf3b8de574c320d886f9a9f2c72029c51c816
|
File details
Details for the file mcbe_binarystream-2.0.1-py3-none-any.whl.
File metadata
- Download URL: mcbe_binarystream-2.0.1-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689b78e2bb81dd9350419f7eb24745b0fc757880ed33bb2c50cdd2e4d1d31a4a
|
|
| MD5 |
6cdc5ae9048890275e05e2e4e81e2ff3
|
|
| BLAKE2b-256 |
7123b8f4b6d8a6b7961128096ef95b3afa785b0a591207bf2aee4a31ef76e950
|