docs.rs failed to build bitcoin-blob-0.1.18
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
bitcoin-blob
bitcoin-blob is a highly specialized Rust library designed to handle fixed-size, opaque byte arrays known as blobs. It provides extensive functionality for iterating, serializing, deserializing, hex encoding/decoding, and more.
Features
- Flexible Blob Definitions: Define blobs of arbitrary bit/byte sizes using powerful macros.
- Iterators: Seamlessly iterate over blob data in mutable and immutable forms.
- Serialization: Robust functionality to serialize blobs to and from streams.
- Hex Utilities: Convert blobs to hexadecimal strings and vice versa.
- Typical Operations: Includes utility methods for checking if blobs are null, comparing blobs, and basic byte-level manipulations.
- Deterministic RNG: Includes a simple RNG for deterministic testing purposes.
Usage
Below is an example of how to define and use a 256-bit blob:
extern crate bitcoin_blob;
base_blob!;
For comprehensive examples and detailed information on each macro, refer to the documentation.
License
bitcoin-blob is licensed under the MIT License.
Disclaimer: This README.md was generated by an AI model and may not be 100% accurate; however, it should be pretty good.