Source File
big_endian.go
Belonging Package
github.com/jackc/pgx/v5/pgproto3
package pgproto3
import (
)
type BigEndianBuf [8]byte
func ( BigEndianBuf) ( int16) []byte {
:= [0:2]
binary.BigEndian.PutUint16(, uint16())
return
}
func ( BigEndianBuf) ( uint16) []byte {
:= [0:2]
binary.BigEndian.PutUint16(, )
return
}
func ( BigEndianBuf) ( int32) []byte {
:= [0:4]
binary.BigEndian.PutUint32(, uint32())
return
}
func ( BigEndianBuf) ( uint32) []byte {
:= [0:4]
binary.BigEndian.PutUint32(, )
return
}
func ( BigEndianBuf) ( int64) []byte {
:= [0:8]
binary.BigEndian.PutUint64(, uint64())
return
}
![]() |
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. |