MCPcopy Create free account
hub / github.com/dromara/dongle / NewDecoder

Function NewDecoder

coding/decoder.go:20–22  ·  view source on GitHub ↗

NewDecoder returns a new Decoder instance.

()

Source from the content-addressed store, hash-verified

18
19// NewDecoder returns a new Decoder instance.
20func NewDecoder() Decoder {
21 return Decoder{}
22}
23
24// FromString decodes from string.
25func (d Decoder) FromString(s string) Decoder {

Callers 15

dongle.goFile · 0.92
FromBase64StringMethod · 0.92
FromBase64BytesMethod · 0.92
FromHexStringMethod · 0.92
FromHexBytesMethod · 0.92
WithHexSignMethod · 0.92
WithBase64SignMethod · 0.92
FormatPublicKeyMethod · 0.92
FormatPrivateKeyMethod · 0.92
FormatPublicKeyMethod · 0.92
FormatPrivateKeyMethod · 0.92
FormatPublicKeyMethod · 0.92

Calls

no outgoing calls

Tested by 15

TestBase32RoundTripFunction · 0.68
TestBase32HexRoundTripFunction · 0.68
TestBase32EdgeCasesFunction · 0.68
TestBase32SpecificFunction · 0.68
TestBase45RoundTripFunction · 0.68
TestBase45EdgeCasesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…