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.


Metadata

Release files for bedrock-protocol-binarystream 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bedrock-protocol-binarystream 1.4.0
File Interpreter ABI Platform Actions
bedrock_protocol_binarystream-1.4.0-py3-none-any.whl Python 3 none any Details for bedrock_protocol_binarystream-1.4.0-py3-none-any.whl

Release files / bedrock_protocol_binarystream-1.4.0-py3-none-any.whl

Download URL bedrock_protocol_binarystream-1.4.0-py3-none-any.whl
Size 296.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce3dbc5fc8c3b5cc32810fc4d2dba841eb215b938e18da6738cce39af7ae4f0f
BLAKE2b-256 checksum
How to use checksums
5885ff46ae5037ece7ab8dec646dd7439ce917e75f66b9f6186b589142f4ce4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for bedrock-protocol-binarystream 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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