/
typeDecoding.go
44 lines (39 loc) · 991 Bytes
/
typeDecoding.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package html
type Decoding string
func (e Decoding) String() string {
return string(e)
}
const (
// KDecodingSync
//
// English:
//
// Decode the image synchronously, for atomic presentation with other content.
//
// Português:
//
// Decodifique a imagem de forma síncrona, para apresentação atômica com outro conteúdo.
KDecodingSync Decoding = "sync"
// KDecodingAsync
//
// English:
//
// Decode the image asynchronously, to reduce delay in presenting other content.
//
// Português:
//
// Decodifique a imagem de forma assíncrona, para reduzir o atraso na apresentação de outros
// conteúdos.
KDecodingAsync Decoding = "async"
// KDecodingAuto
//
// English:
//
// No preference for the decoding mode. The browser decides what is best for the user. (Default)
//
// Português:
//
// Sem preferência para o modo de decodificação. O navegador decide o que é melhor para o usuário.
// (Padrão)
KDecodingAuto Decoding = "auto"
)