Source File
big_endian.go
Belonging Package
github.com/jackc/pgproto3/v2
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.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. |