Source File
string.go
Belonging Package
vendor/golang.org/x/crypto/cryptobyte
package cryptobyte // import "golang.org/x/crypto/cryptobyte"
func ( *String) ( *uint32) bool {
:= .read(4)
if == nil {
return false
}
* = uint32([0])<<24 | uint32([1])<<16 | uint32([2])<<8 | uint32([3])
return true
}
func ( *String) ( *uint32, int) bool {
:= .read()
if == nil {
return false
}
var uint32
for := 0; < ; ++ {
<<= 8
|= uint32([])
}
* =
return true
}
func ( *String) ( int, *String) bool {
:= .read()
if == nil {
return false
}
var uint32
for , := range {
= << 8
= | uint32()
}
:= .read(int())
if == nil {
return false
}
* =
return true
}
func ( *String) ( *String) bool {
return .readLengthPrefixed(1, )
}
func ( *String) ( *String) bool {
return .readLengthPrefixed(2, )
}
func ( *String) ( *String) bool {
return .readLengthPrefixed(3, )
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |