var encoding/binary.BigEndian
132 uses
encoding/binary (current package)
binary.go#L57: var BigEndian bigEndian
encoding/base64
base64.go#L510: binary.BigEndian.PutUint64(dst[n:], dn)
base64.go#L531: binary.BigEndian.PutUint32(dst[n:], dn)
crypto/aes
block.go#L46: s0 := binary.BigEndian.Uint32(src[0:4])
block.go#L47: s1 := binary.BigEndian.Uint32(src[4:8])
block.go#L48: s2 := binary.BigEndian.Uint32(src[8:12])
block.go#L49: s3 := binary.BigEndian.Uint32(src[12:16])
block.go#L83: binary.BigEndian.PutUint32(dst[0:4], s0)
block.go#L84: binary.BigEndian.PutUint32(dst[4:8], s1)
block.go#L85: binary.BigEndian.PutUint32(dst[8:12], s2)
block.go#L86: binary.BigEndian.PutUint32(dst[12:16], s3)
block.go#L92: s0 := binary.BigEndian.Uint32(src[0:4])
block.go#L93: s1 := binary.BigEndian.Uint32(src[4:8])
block.go#L94: s2 := binary.BigEndian.Uint32(src[8:12])
block.go#L95: s3 := binary.BigEndian.Uint32(src[12:16])
block.go#L129: binary.BigEndian.PutUint32(dst[0:4], s0)
block.go#L130: binary.BigEndian.PutUint32(dst[4:8], s1)
block.go#L131: binary.BigEndian.PutUint32(dst[8:12], s2)
block.go#L132: binary.BigEndian.PutUint32(dst[12:16], s3)
block.go#L153: enc[i] = binary.BigEndian.Uint32(key[4*i:])
crypto/cipher
gcm.go#L140: binary.BigEndian.Uint64(key[:8]),
gcm.go#L141: binary.BigEndian.Uint64(key[8:]),
gcm.go#L326: y.low ^= binary.BigEndian.Uint64(blocks)
gcm.go#L327: y.high ^= binary.BigEndian.Uint64(blocks[8:])
gcm.go#L350: binary.BigEndian.PutUint32(ctr, binary.BigEndian.Uint32(ctr)+1)
gcm.go#L406: binary.BigEndian.PutUint64(counter[:8], y.low)
gcm.go#L407: binary.BigEndian.PutUint64(counter[8:], y.high)
gcm.go#L423: binary.BigEndian.PutUint64(out, y.low)
gcm.go#L424: binary.BigEndian.PutUint64(out[8:], y.high)
crypto/des
block.go#L13: b := binary.BigEndian.Uint64(src)
block.go#L35: binary.BigEndian.PutUint64(dst, permuteFinalBlock(preOutput))
block.go#L231: key := binary.BigEndian.Uint64(keyBytes)
cipher.go#L98: b := binary.BigEndian.Uint64(src)
cipher.go#L119: binary.BigEndian.PutUint64(dst, permuteFinalBlock(preOutput))
cipher.go#L133: b := binary.BigEndian.Uint64(src)
cipher.go#L154: binary.BigEndian.PutUint64(dst, permuteFinalBlock(preOutput))
crypto/internal/bigmod
nat.go#L185: return uint(binary.BigEndian.Uint64(buf))
nat.go#L187: return uint(binary.BigEndian.Uint32(buf))
crypto/md5
md5.go#L62: b = binary.BigEndian.AppendUint32(b, d.s[0])
md5.go#L63: b = binary.BigEndian.AppendUint32(b, d.s[1])
md5.go#L64: b = binary.BigEndian.AppendUint32(b, d.s[2])
md5.go#L65: b = binary.BigEndian.AppendUint32(b, d.s[3])
md5.go#L68: b = binary.BigEndian.AppendUint64(b, d.len)
md5.go#L91: return b[8:], binary.BigEndian.Uint64(b[0:8])
md5.go#L95: return b[4:], binary.BigEndian.Uint32(b[0:4])
crypto/sha1
sha1.go#L53: b = binary.BigEndian.AppendUint32(b, d.h[0])
sha1.go#L54: b = binary.BigEndian.AppendUint32(b, d.h[1])
sha1.go#L55: b = binary.BigEndian.AppendUint32(b, d.h[2])
sha1.go#L56: b = binary.BigEndian.AppendUint32(b, d.h[3])
sha1.go#L57: b = binary.BigEndian.AppendUint32(b, d.h[4])
sha1.go#L60: b = binary.BigEndian.AppendUint64(b, d.len)
sha1.go#L169: binary.BigEndian.PutUint64(padlen[t:], len)
sha1.go#L178: binary.BigEndian.PutUint32(digest[0:], d.h[0])
sha1.go#L179: binary.BigEndian.PutUint32(digest[4:], d.h[1])
sha1.go#L180: binary.BigEndian.PutUint32(digest[8:], d.h[2])
sha1.go#L181: binary.BigEndian.PutUint32(digest[12:], d.h[3])
sha1.go#L182: binary.BigEndian.PutUint32(digest[16:], d.h[4])
crypto/sha256
sha256.go#L73: b = binary.BigEndian.AppendUint32(b, d.h[0])
sha256.go#L74: b = binary.BigEndian.AppendUint32(b, d.h[1])
sha256.go#L75: b = binary.BigEndian.AppendUint32(b, d.h[2])
sha256.go#L76: b = binary.BigEndian.AppendUint32(b, d.h[3])
sha256.go#L77: b = binary.BigEndian.AppendUint32(b, d.h[4])
sha256.go#L78: b = binary.BigEndian.AppendUint32(b, d.h[5])
sha256.go#L79: b = binary.BigEndian.AppendUint32(b, d.h[6])
sha256.go#L80: b = binary.BigEndian.AppendUint32(b, d.h[7])
sha256.go#L83: b = binary.BigEndian.AppendUint64(b, d.len)
sha256.go#L229: binary.BigEndian.PutUint64(padlen[t+0:], len)
sha256.go#L238: binary.BigEndian.PutUint32(digest[0:], d.h[0])
sha256.go#L239: binary.BigEndian.PutUint32(digest[4:], d.h[1])
sha256.go#L240: binary.BigEndian.PutUint32(digest[8:], d.h[2])
sha256.go#L241: binary.BigEndian.PutUint32(digest[12:], d.h[3])
sha256.go#L242: binary.BigEndian.PutUint32(digest[16:], d.h[4])
sha256.go#L243: binary.BigEndian.PutUint32(digest[20:], d.h[5])
sha256.go#L244: binary.BigEndian.PutUint32(digest[24:], d.h[6])
sha256.go#L246: binary.BigEndian.PutUint32(digest[28:], d.h[7])
crypto/sha512
sha512.go#L156: b = binary.BigEndian.AppendUint64(b, d.h[0])
sha512.go#L157: b = binary.BigEndian.AppendUint64(b, d.h[1])
sha512.go#L158: b = binary.BigEndian.AppendUint64(b, d.h[2])
sha512.go#L159: b = binary.BigEndian.AppendUint64(b, d.h[3])
sha512.go#L160: b = binary.BigEndian.AppendUint64(b, d.h[4])
sha512.go#L161: b = binary.BigEndian.AppendUint64(b, d.h[5])
sha512.go#L162: b = binary.BigEndian.AppendUint64(b, d.h[6])
sha512.go#L163: b = binary.BigEndian.AppendUint64(b, d.h[7])
sha512.go#L166: b = binary.BigEndian.AppendUint64(b, d.len)
sha512.go#L320: binary.BigEndian.PutUint64(padlen[t+8:], len)
sha512.go#L328: binary.BigEndian.PutUint64(digest[0:], d.h[0])
sha512.go#L329: binary.BigEndian.PutUint64(digest[8:], d.h[1])
sha512.go#L330: binary.BigEndian.PutUint64(digest[16:], d.h[2])
sha512.go#L331: binary.BigEndian.PutUint64(digest[24:], d.h[3])
sha512.go#L332: binary.BigEndian.PutUint64(digest[32:], d.h[4])
sha512.go#L333: binary.BigEndian.PutUint64(digest[40:], d.h[5])
sha512.go#L335: binary.BigEndian.PutUint64(digest[48:], d.h[6])
sha512.go#L336: binary.BigEndian.PutUint64(digest[56:], d.h[7])
github.com/gotd/td/internal/mtproxy/faketls
client_hello.go#L48: binary.BigEndian.PutUint16(b.Buf[s:], uint16(length))
record.go#L42: length := binary.BigEndian.Uint16(buf[3:])
record.go#L65: binary.BigEndian.PutUint16(buf[:2], uint16(len(r.Data)))
github.com/gotd/td/session
telethon.go#L74: port := binary.BigEndian.Uint16(data[1+ipLength : 3+ipLength])
github.com/gotd/td/session/tdesktop
file.go#L135: data, skip, err := readArray(f.data[f.n:], binary.BigEndian)
key_data.go#L57: count := int(binary.BigEndian.Uint32(infoDecrypted))
key_data.go#L63: idx := binary.BigEndian.Uint32(infoDecrypted[i*4:])
math/big
floatmarsh.go#L51: binary.BigEndian.PutUint32(buf[2:], x.prec)
floatmarsh.go#L54: binary.BigEndian.PutUint32(buf[6:], uint32(x.exp))
floatmarsh.go#L87: z.prec = binary.BigEndian.Uint32(buf[2:])
floatmarsh.go#L93: z.exp = int32(binary.BigEndian.Uint32(buf[6:]))
nat.go#L1337: return Word(binary.BigEndian.Uint64(buf))
nat.go#L1339: return Word(binary.BigEndian.Uint32(buf))
ratmarsh.go#L32: binary.BigEndian.PutUint32(buf[j-4:j], uint32(n))
ratmarsh.go#L57: ln := binary.BigEndian.Uint32(buf[j-4 : j])
net/http
h2_bundle.go#L1643: StreamID: binary.BigEndian.Uint32(buf[5:]) & (1<<31 - 1),
h2_bundle.go#L2174: ID: http2SettingID(binary.BigEndian.Uint16(buf[i*6 : i*6+2])),
h2_bundle.go#L2175: Val: binary.BigEndian.Uint32(buf[i*6+2 : i*6+6]),
h2_bundle.go#L2311: LastStreamID: binary.BigEndian.Uint32(p[:4]) & (1<<31 - 1),
h2_bundle.go#L2312: ErrCode: http2ErrCode(binary.BigEndian.Uint32(p[4:8])),
h2_bundle.go#L2358: inc := binary.BigEndian.Uint32(p[:4]) & 0x7fffffff // mask off high reserved bit
h2_bundle.go#L2572: v := binary.BigEndian.Uint32(payload[:4])
h2_bundle.go#L2621: return &http2RSTStreamFrame{fh, http2ErrCode(binary.BigEndian.Uint32(p[:4]))}, nil
h2_bundle.go#L2807: return p[4:], binary.BigEndian.Uint32(p[:4]), nil
sniff.go#L271: boxSize := int(binary.BigEndian.Uint32(data[:4]))
nhooyr.io/websocket
close.go#L222: Code: StatusCode(binary.BigEndian.Uint16(p)),
close.go#L275: binary.BigEndian.PutUint16(buf, uint16(ce.Code))
frame.go#L81: h.payloadLength = int64(binary.BigEndian.Uint16(readBuf))
frame.go#L84: h.payloadLength = int64(binary.BigEndian.Uint64(readBuf))
frame.go#L155: binary.BigEndian.PutUint64(buf, uint64(h.payloadLength))
frame.go#L158: binary.BigEndian.PutUint16(buf, uint16(h.payloadLength))
rsc.io/qr
png.go#L47: binary.BigEndian.PutUint32(w.tmp[0:4], uint32((siz+8)*scale))
png.go#L48: binary.BigEndian.PutUint32(w.tmp[4:8], uint32((siz+8)*scale))
png.go#L75: binary.BigEndian.PutUint32(w.wctmp[0:4], uint32(len(data)))
png.go#L84: binary.BigEndian.PutUint32(w.wctmp[0:4], crc)
png.go#L173: binary.BigEndian.PutUint32(b.tmp[0:], b.adler32.Sum32())
vendor/golang.org/x/text/unicode/norm
forminfo.go#L189: key := binary.BigEndian.Uint32(buf[:4])
forminfo.go#L190: val := binary.BigEndian.Uint32(buf[4:])
|
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. |