MCPcopy 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.
97func (d *Decoder) Data() string {
98 return string(d.DataBytes())
99}
100
101// DataBytes returns decoded data as a byte slice.
102func (d *Decoder) DataBytes() []byte {

Callers 4

TestTXQRFunction · 0.95
TestTXQRErasuresFunction · 0.95
TestDecodeFunction · 0.95
TestInvalidDecodeFunction · 0.95

Calls 1

DataBytesMethod · 0.95

Tested by 4

TestTXQRFunction · 0.76
TestTXQRErasuresFunction · 0.76
TestDecodeFunction · 0.76
TestInvalidDecodeFunction · 0.76