Documentation
¶
Index ¶
- Variables
- func DecodeDataURL(value string, limit int64) ([]byte, error)
- func Detect(data []byte) (string, error)
- func DetectContext(ctx context.Context, data []byte) (string, error)
- func ValidateDataURL(ctx context.Context, value string, limit int64) ([]byte, string, error)
- type Error
- type ErrorKind
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataTooLarge = errors.New("data image exceeds its byte limit")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.