Source File
int128.go
Belonging Package
github.com/gotd/td/bin
package binimport// Int128 represents signed 128-bit integer.type Int128 [16]byte// Decode implements bin.Decoder.func ( *Int128) ( *Buffer) error {, := .Int128()if != nil {return}* =return nil}// Encode implements bin.Encoder.func ( Int128) ( *Buffer) error {.PutInt128()return nil}// BigInt returns corresponding big.Int value.func ( Int128) () *big.Int {return big.NewInt(0).SetBytes([:])}
![]() |
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. |