Source File
common.go
Belonging Package
google.golang.org/grpc/credentials/alts/internal/conn
package conn
import (
)
GcmTagSize = 16
)
if len() < MsgLenFieldSize {
return nil, , nil
}
:= [:MsgLenFieldSize]
:= binary.LittleEndian.Uint32()
if > {
return nil, nil, fmt.Errorf("received the frame length %d larger than the limit %d", , )
}
return nil, , nil
}
return [:MsgLenFieldSize+], [MsgLenFieldSize+:], nil
![]() |
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. |