Skip to main content

bedrock-protocol-binarystream

Part of Bedrock Protocol Library. Minecraft BinaryStream Library.

Install

pip install bedrock-protocol-binarystream

Usage

from bedrock_protocol.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)

bytes_data = stream.data()

Used Libraries

Library License Link
BinaryStream MPL-2.0 https://github.com/GlacieTeam/BinaryStream

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.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

bedrock_protocol_binarystream-1.4.0-py3-none-any.whl (296.4 kB view details)

Uploaded Python 3

File details

Details for the file bedrock_protocol_binarystream-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bedrock_protocol_binarystream-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce3dbc5fc8c3b5cc32810fc4d2dba841eb215b938e18da6738cce39af7ae4f0f
MD5 001d6f2a5cdd7780b78ab5e60e4f6271
BLAKE2b-256 5885ff46ae5037ece7ab8dec646dd7439ce917e75f66b9f6186b589142f4ce4e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 file

1.3.0

1 file

1.2.0

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page