Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) Base64Decode ¶
func (d *Decoder) Base64Decode(input string) *DecoderResult
func (*Decoder) Decode ¶
func (d *Decoder) Decode(data []byte) *DecoderResult
func (*Decoder) HexDecode ¶
func (d *Decoder) HexDecode(hexdata string) *DecoderResult
type DecoderResult ¶
type DecoderResult struct {
// contains filtered or unexported fields
}
func (*DecoderResult) Bytes ¶
func (d *DecoderResult) Bytes() []byte
func (*DecoderResult) String ¶
func (d *DecoderResult) String() string
func (*DecoderResult) UnmarshalJson ¶
func (d *DecoderResult) UnmarshalJson(data any)
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) Encode ¶
func (e *Encoder) Encode(data []byte) *EncoderResult
func (*Encoder) EncodeString ¶
func (e *Encoder) EncodeString(data string) *EncoderResult
func (*Encoder) JsonEncode ¶
func (e *Encoder) JsonEncode(s any) *EncoderResult
type EncoderResult ¶
type EncoderResult struct {
// contains filtered or unexported fields
}
func (*EncoderResult) Base64 ¶
func (e *EncoderResult) Base64() string
func (*EncoderResult) Hex ¶
func (e *EncoderResult) Hex() string
Click to show internal directories.
Click to hide internal directories.