Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 786 Bytes

externalbytes.md

File metadata and controls

43 lines (30 loc) · 786 Bytes
redirect_to layout tags title
page
api
Fyne API "binding.ExternalBytes"

binding.ExternalBytes


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

Usage

type ExternalBytes

type ExternalBytes interface {
	Bytes
	Reload() error
}

ExternalBytes supports binding a []byte value to an external value.

Since: 2.2

func BindBytes

func BindBytes(v *[]byte) ExternalBytes

BindBytes returns a new bindable value that controls the contents of the provided []byte variable. If your code changes the content of the variable this refers to you should call Reload() to inform the bindings.

Since: 2.2