package stdlib
import (
"go/constant"
"go/token"
"image/jpeg"
"reflect"
)
func init() {
Symbols ["image/jpeg/jpeg" ] = map [string ]reflect .Value {
"Decode" : reflect .ValueOf (jpeg .Decode ),
"DecodeConfig" : reflect .ValueOf (jpeg .DecodeConfig ),
"DefaultQuality" : reflect .ValueOf (constant .MakeFromLiteral ("75" , token .INT , 0 )),
"Encode" : reflect .ValueOf (jpeg .Encode ),
"FormatError" : reflect .ValueOf ((*jpeg .FormatError )(nil )),
"Options" : reflect .ValueOf ((*jpeg .Options )(nil )),
"Reader" : reflect .ValueOf ((*jpeg .Reader )(nil )),
"UnsupportedError" : reflect .ValueOf ((*jpeg .UnsupportedError )(nil )),
"_Reader" : reflect .ValueOf ((*_image_jpeg_Reader )(nil )),
}
}
type _image_jpeg_Reader struct {
IValue interface {}
WRead func (p []byte ) (n int , err error )
WReadByte func () (byte , error )
}
func (W _image_jpeg_Reader ) Read (p []byte ) (n int , err error ) {
return W .WRead (p )
}
func (W _image_jpeg_Reader ) ReadByte () (byte , error ) {
return W .WReadByte ()
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .