rsc.io/qr/coding.Code.Stride (field)
6 uses
rsc.io/qr/coding (current package)
qr.go#L313: Stride int // number of bytes per row
qr.go#L318: c.Bitmap[y*c.Stride+x/8]&(1<<uint(7-x&7)) != 0
qr.go#L447: c := &Code{Size: len(p.Pixel), Stride: (len(p.Pixel) + 7) &^ 7}
qr.go#L448: c.Bitmap = make([]byte, c.Stride*c.Size)
qr.go#L463: crow = crow[c.Stride:]
rsc.io/qr
qr.go#L68: return &Code{cc.Bitmap, cc.Size, cc.Stride, 8}, nil
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |