Module bp7::ffi

source ·

Structs

Functions

  • Another simple test returning a dynamic buffer with a fixed content. The returned buffer contains the following bytes: [0x42, 0x43, 0x44, 0x45]
  • A simple test for the bp7 FFI interface. On success it should always return the number 23.
  • Free the memory of a given buffer.
  • Frees the memory of a given bundle.
  • Try to decode a bundle from a given buffer.
  • Get the metadata from a given bundle.
  • Check if a given bundle is valid. This checks the primary block as well as the validity of all canonical bundles.
  • Frees a BundleMetaData struct.
  • Create a new bundle with standard configuration and a given payload
  • Get the payload of a given bundle.
  • Encode a given bundle a CBOR byte buffer
  • Generate a random bundle as a raw buffer.