Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/divan/txqr
/ Data
Method
Data
decode.go:97–99 ·
view source on GitHub ↗
Data returns decoded data.
()
Source
from the content-addressed store, hash-verified
95
96
// Data returns decoded data.
97
func
(d *Decoder) Data() string {
98
return
string(d.DataBytes())
99
}
100
101
// DataBytes returns decoded data as a byte slice.
102
func
(d *Decoder) DataBytes() []byte {
Callers
4
TestTXQR
Function · 0.95
TestTXQRErasures
Function · 0.95
TestDecode
Function · 0.95
TestInvalidDecode
Function · 0.95
Calls
1
DataBytes
Method · 0.95
Tested by
4
TestTXQR
Function · 0.76
TestTXQRErasures
Function · 0.76
TestDecode
Function · 0.76
TestInvalidDecode
Function · 0.76