跳到主要内容

DecodeBase64URL

func DecodeBase64URL(value, field string) ([]byte, error)

解码规范的无填充 base64url 值。

参数​

名称类型说明
valuestringDecodeBase64URL 的 value 参数。
fieldstringDecodeBase64URL 的 field 参数。

返回值​

([]byte, error)

来源​

此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。