fbutils

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Overview

Package fbutils provides utilities for the FlatBuffers in ObjectBox

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateByteVectorOffset

func CreateByteVectorOffset(fbb *flatbuffers.Builder, value []byte) flatbuffers.UOffsetT

CreateByteVectorOffset creates an offset in the FlatBuffers table

func CreateStringOffset

func CreateStringOffset(fbb *flatbuffers.Builder, value string) flatbuffers.UOffsetT

CreateStringOffset creates an offset in the FlatBuffers table

func CreateStringVectorOffset added in v0.9.0

func CreateStringVectorOffset(fbb *flatbuffers.Builder, values []string) flatbuffers.UOffsetT

CreateStringVectorOffset creates an offset in the FlatBuffers table

func GetBoolPtrSlot added in v1.0.0

func GetBoolPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *bool

GetBoolPtrSlot provides access to the FlatBuffers table

func GetBoolSlot added in v1.0.0

func GetBoolSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) bool

GetBoolSlot provides access to the FlatBuffers table

func GetBytePtrSlot added in v1.0.0

func GetBytePtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *byte

GetBytePtrSlot provides access to the FlatBuffers table

func GetByteSlot added in v1.0.0

func GetByteSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) byte

GetByteSlot provides access to the FlatBuffers table

func GetByteVectorPtrSlot added in v1.0.0

func GetByteVectorPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *[]byte

GetByteVectorPtrSlot provides access to the FlatBuffers table

func GetByteVectorSlot

func GetByteVectorSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) []byte

GetByteVectorSlot provides access to the FlatBuffers table

func GetFloat32PtrSlot added in v1.0.0

func GetFloat32PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *float32

GetFloat32PtrSlot provides access to the FlatBuffers table

func GetFloat32Slot added in v1.0.0

func GetFloat32Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) float32

GetFloat32Slot provides access to the FlatBuffers table

func GetFloat64PtrSlot added in v1.0.0

func GetFloat64PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *float64

GetFloat64PtrSlot provides access to the FlatBuffers table

func GetFloat64Slot added in v1.0.0

func GetFloat64Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) float64

GetFloat64Slot provides access to the FlatBuffers table

func GetInt16PtrSlot added in v1.0.0

func GetInt16PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *int16

GetInt16PtrSlot provides access to the FlatBuffers table

func GetInt16Slot added in v1.0.0

func GetInt16Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) int16

GetInt16Slot provides access to the FlatBuffers table

func GetInt32PtrSlot added in v1.0.0

func GetInt32PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *int32

GetInt32PtrSlot provides access to the FlatBuffers table

func GetInt32Slot added in v1.0.0

func GetInt32Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) int32

GetInt32Slot provides access to the FlatBuffers table

func GetInt64PtrSlot added in v1.0.0

func GetInt64PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *int64

GetInt64PtrSlot provides access to the FlatBuffers table

func GetInt64Slot added in v1.0.0

func GetInt64Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) int64

GetInt64Slot provides access to the FlatBuffers table

func GetInt8PtrSlot added in v1.0.0

func GetInt8PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *int8

GetInt8PtrSlot provides access to the FlatBuffers table

func GetInt8Slot added in v1.0.0

func GetInt8Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) int8

GetInt8Slot provides access to the FlatBuffers table

func GetIntPtrSlot added in v1.0.0

func GetIntPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *int

GetIntPtrSlot provides access to the FlatBuffers table

func GetIntSlot added in v1.0.0

func GetIntSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) int

GetIntSlot provides access to the FlatBuffers table

func GetRunePtrSlot added in v1.0.0

func GetRunePtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *rune

GetRunePtrSlot provides access to the FlatBuffers table

func GetRuneSlot added in v1.0.0

func GetRuneSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) rune

GetRuneSlot provides access to the FlatBuffers table

func GetStringPtrSlot added in v1.0.0

func GetStringPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *string

GetStringPtrSlot provides access to the FlatBuffers table

func GetStringSlot

func GetStringSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) string

GetStringSlot provides access to the FlatBuffers table

func GetStringVectorPtrSlot added in v1.0.0

func GetStringVectorPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *[]string

GetStringVectorPtrSlot provides access to the FlatBuffers table

func GetStringVectorSlot added in v0.9.0

func GetStringVectorSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) []string

GetStringVectorSlot provides access to the FlatBuffers table

func GetUint16PtrSlot added in v1.0.0

func GetUint16PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *uint16

GetUint16PtrSlot provides access to the FlatBuffers table

func GetUint16Slot added in v1.0.0

func GetUint16Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) uint16

GetUint16Slot provides access to the FlatBuffers table

func GetUint32PtrSlot added in v1.0.0

func GetUint32PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *uint32

GetUint32PtrSlot provides access to the FlatBuffers table

func GetUint32Slot added in v1.0.0

func GetUint32Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) uint32

GetUint32Slot provides access to the FlatBuffers table

func GetUint64PtrSlot added in v1.0.0

func GetUint64PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *uint64

GetUint64PtrSlot provides access to the FlatBuffers table

func GetUint64Slot added in v1.0.0

func GetUint64Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) uint64

GetUint64Slot provides access to the FlatBuffers table

func GetUint8PtrSlot added in v1.0.0

func GetUint8PtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *uint8

GetUint8PtrSlot provides access to the FlatBuffers table

func GetUint8Slot added in v1.0.0

func GetUint8Slot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) uint8

GetUint8Slot provides access to the FlatBuffers table

func GetUintPtrSlot added in v1.0.0

func GetUintPtrSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) *uint

GetUintPtrSlot provides access to the FlatBuffers table

func GetUintSlot added in v1.0.0

func GetUintSlot(table *flatbuffers.Table, slot flatbuffers.VOffsetT) uint

GetUintSlot provides access to the FlatBuffers table

func SetBoolSlot added in v0.8.0

func SetBoolSlot(fbb *flatbuffers.Builder, slot int, value bool)

SetBoolSlot sets the given value in the FlatBuffers table

func SetByteSlot added in v0.8.0

func SetByteSlot(fbb *flatbuffers.Builder, slot int, value byte)

SetByteSlot sets the given value in the FlatBuffers table

func SetFloat32Slot added in v0.8.0

func SetFloat32Slot(fbb *flatbuffers.Builder, slot int, value float32)

SetFloat32Slot sets the given value in the FlatBuffers table

func SetFloat64Slot added in v0.8.0

func SetFloat64Slot(fbb *flatbuffers.Builder, slot int, value float64)

SetFloat64Slot sets the given value in the FlatBuffers table

func SetInt16Slot added in v0.8.0

func SetInt16Slot(fbb *flatbuffers.Builder, slot int, value int16)

SetInt16Slot sets the given value in the FlatBuffers table

func SetInt32Slot added in v0.8.0

func SetInt32Slot(fbb *flatbuffers.Builder, slot int, value int32)

SetInt32Slot sets the given value in the FlatBuffers table

func SetInt64Slot added in v0.8.0

func SetInt64Slot(fbb *flatbuffers.Builder, slot int, value int64)

SetInt64Slot sets the given value in the FlatBuffers table

func SetInt8Slot added in v0.8.0

func SetInt8Slot(fbb *flatbuffers.Builder, slot int, value int8)

SetInt8Slot sets the given value in the FlatBuffers table

func SetUOffsetTSlot added in v0.8.0

func SetUOffsetTSlot(fbb *flatbuffers.Builder, slot int, value flatbuffers.UOffsetT)

SetUOffsetTSlot sets the given value in the FlatBuffers table

func SetUint16Slot added in v0.8.0

func SetUint16Slot(fbb *flatbuffers.Builder, slot int, value uint16)

SetUint16Slot sets the given value in the FlatBuffers table

func SetUint32Slot added in v0.8.0

func SetUint32Slot(fbb *flatbuffers.Builder, slot int, value uint32)

SetUint32Slot sets the given value in the FlatBuffers table

func SetUint64Slot added in v0.8.0

func SetUint64Slot(fbb *flatbuffers.Builder, slot int, value uint64)

SetUint64Slot sets the given value in the FlatBuffers table

func SetUint8Slot added in v0.8.0

func SetUint8Slot(fbb *flatbuffers.Builder, slot int, value uint8)

SetUint8Slot sets the given value in the FlatBuffers table

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL