func (b *Base64) UnmarshalEasyJSON(in *jlexer.Lexer) {
	if data := in.String(); in.Ok() {
		enc := base64.StdEncoding
		dbuf := make([]byte, enc.DecodedLen(len(data)))

		n, err := enc.Decode(dbuf, []byte(data))
		if err != nil {
			in.AddError(err)
			return
		}

		*b = dbuf[:n]
	}
}
func (b *Base64) UnmarshalEasyJSON(in *jlexer.Lexer) {
	if data := in.String(); in.Ok() {
		enc := base64.StdEncoding
		dbuf := make([]byte, enc.DecodedLen(len(data)))

		n, err := enc.Decode(dbuf, []byte(data))
		if err != nil {
			in.AddError(err)
			return
		}

		*b = dbuf[:n]
	}
}
func ( b * Base64 ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { if data := in . String ( ) ; in . Ok ( ) { enc := base64 . StdEncoding dbuf := make ( [ ] byte , enc . DecodedLen ( len ( data ) ) ) n , err := enc . Decode ( dbuf , [ ] byte ( data ) ) if err != nil { in . AddError ( err ) return } * b = dbuf [ : n ] } }
// UnmarshalEasyJSON sets the Base64 from a easyjson.Lexer
UnmarshalEasyJSON sets the Base64 from a easyjson . Lexer