encoding/binary.littleEndian.PutUint16 (method)
5 uses
encoding/binary (current package)
binary.go#L57: func (littleEndian) PutUint16(b []byte, v uint16) {
archive/zip
writer.go#L529: binary.LittleEndian.PutUint16(*b, v)
compress/gzip
gzip.go#L97: le.PutUint16(z.buf[:2], uint16(len(b)))
google.golang.org/protobuf/internal/impl
legacy_export.go#L84: binary.LittleEndian.PutUint16(blockHeader[1:3], uint16(blockSize)^0x0000)
legacy_export.go#L85: binary.LittleEndian.PutUint16(blockHeader[3:5], uint16(blockSize)^0xffff)
![]() |
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. |