autobahn.flatbuffers.util

Functions

BufferHasIdentifier(buf, offset, file_identifier[, ...])

GetBufferIdentifier(buf, offset[, size_prefixed])

Extract the file_identifier from a buffer

GetSizePrefix(buf, offset)

Extract the size prefix from a buffer.

RemoveSizePrefix(buf, offset)

Create a slice of a size-prefixed buffer that has

Module Contents

BufferHasIdentifier(buf, offset, file_identifier, size_prefixed=False)[source]
GetBufferIdentifier(buf, offset, size_prefixed=False)[source]

Extract the file_identifier from a buffer

GetSizePrefix(buf, offset)[source]

Extract the size prefix from a buffer.

RemoveSizePrefix(buf, offset)[source]

Create a slice of a size-prefixed buffer that has

its position advanced just past the size prefix.