encoding/binary.bigEndian.Uint16 (method)
31 uses
encoding/binary (current package)
binary.go#L100: func (bigEndian) Uint16(b []byte) uint16 {
github.com/jackc/pgproto3/v2
bind.go#L45: parameterFormatCodeCount := int(binary.BigEndian.Uint16(src[rp:]))
bind.go#L55: dst.ParameterFormatCodes[i] = int16(binary.BigEndian.Uint16(src[rp:]))
bind.go#L63: parameterCount := int(binary.BigEndian.Uint16(src[rp:]))
bind.go#L94: resultFormatCodeCount := int(binary.BigEndian.Uint16(src[rp:]))
bind.go#L102: dst.ResultFormatCodes[i] = int16(binary.BigEndian.Uint16(src[rp:]))
copy_both_response.go#L30: columnCount := int(binary.BigEndian.Uint16(buf.Next(2)))
copy_both_response.go#L37: columnFormatCodes[i] = binary.BigEndian.Uint16(buf.Next(2))
copy_in_response.go#L30: columnCount := int(binary.BigEndian.Uint16(buf.Next(2)))
copy_in_response.go#L37: columnFormatCodes[i] = binary.BigEndian.Uint16(buf.Next(2))
copy_out_response.go#L29: columnCount := int(binary.BigEndian.Uint16(buf.Next(2)))
copy_out_response.go#L36: columnFormatCodes[i] = binary.BigEndian.Uint16(buf.Next(2))
data_row.go#L25: fieldCount := int(binary.BigEndian.Uint16(src[rp:]))
parse.go#L42: parameterOIDCount := int(binary.BigEndian.Uint16(buf.Next(2)))
row_description.go#L61: fieldCount := int(binary.BigEndian.Uint16(src))
row_description.go#L84: fd.TableAttributeNumber = binary.BigEndian.Uint16(src[rp:])
row_description.go#L88: fd.DataTypeSize = int16(binary.BigEndian.Uint16(src[rp:]))
row_description.go#L92: fd.Format = int16(binary.BigEndian.Uint16(src[rp:]))
github.com/jackc/pgtype
int2.go#L226: n := int16(binary.BigEndian.Uint16(src))
numeric.go#L455: ndigits := int16(binary.BigEndian.Uint16(src[rp:]))
numeric.go#L457: weight := int16(binary.BigEndian.Uint16(src[rp:]))
numeric.go#L459: sign := uint16(binary.BigEndian.Uint16(src[rp:]))
numeric.go#L461: dscale := int16(binary.BigEndian.Uint16(src[rp:]))
numeric.go#L560: accum += int64(binary.BigEndian.Uint16(src[rp:]))
pgtype.go#L635: *p = int16(binary.BigEndian.Uint16(src))
tid.go#L103: OffsetNumber: binary.BigEndian.Uint16(src[4:]),
github.com/lib/pq
buf.go#L26: n = int(binary.BigEndian.Uint16(*b))
encode.go#L78: return int64(int16(binary.BigEndian.Uint16(s)))
golang.org/x/crypto/openpgp/packet
public_key_v3.go#L63: pk.DaysToExpire = binary.BigEndian.Uint16(buf[5:7])
golang.org/x/net/http2
frame.go#L751: ID: SettingID(binary.BigEndian.Uint16(buf[i*6 : i*6+2])),
net/http
h2_bundle.go#L1994: ID: http2SettingID(binary.BigEndian.Uint16(buf[i*6 : i*6+2])),
![]() |
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. |