Module vortex_flatbuffers::message

source ·
Expand description

A serialized sequence of arrays, each with its buffers.

message.fbs:

include "vortex-array/array.fbs";
include "vortex-dtype/dtype.fbs";

enum MessageVersion: uint8 {
    V0 = 0,
}

enum Compression: uint8 {
    None = 0,
}

union MessageHeader {
    ArrayData,
    Buffer,
    DType,
}

table Message {
    version: MessageVersion = V0;
    header: MessageHeader;
}

root_type Message;

Structs§

Enums§

Constants§

Functions§

  • Verifies that a buffer of bytes contains a Message and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the previous, unchecked, behavior use root_as_message_unchecked.
  • Assumes, without verification, that a buffer of bytes contains a Message and returns it.
  • Verifies, with the given options, that a buffer of bytes contains a Message and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the previous, unchecked, behavior use root_as_message_unchecked.
  • Verifies that a buffer of bytes contains a size prefixed Message and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the previous, unchecked, behavior use size_prefixed_root_as_message_unchecked.
  • Assumes, without verification, that a buffer of bytes contains a size prefixed Message and returns it.
  • Verifies, with the given verifier options, that a buffer of bytes contains a size prefixed Message and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the previous, unchecked, behavior use root_as_message_unchecked.