Fyne API "binding.Bytes"

binding.Bytes


import "fyne.io/fyne/v2/data/binding"

Usage

type Bytes

type Bytes interface {
	DataItem
	Get() ([]byte, error)
	Set([]byte) error
}

Bytes supports binding a []byte value.

Since: 2.2

func NewBytes

func NewBytes() Bytes

NewBytes returns a bindable []byte value that is managed internally.

Since: 2.2