github.com/gotd/td/internal/proto.Message.Bytes (field)
10 uses
github.com/gotd/td/internal/proto (current package)
container.go#L52: Bytes int
container.go#L58: if m.Bytes < 0 || m.Bytes > 1024*1024 {
container.go#L59: return errors.Errorf("message length %d is invalid", m.Bytes)
container.go#L63: b.PutInt(m.Bytes)
container.go#L89: m.Bytes = v
container.go#L91: if m.Bytes < 0 || m.Bytes > 1024*1024 {
container.go#L94: m.Body = make([]byte, m.Bytes)
container.go#L95: return b.ConsumeN(m.Body, m.Bytes)
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. |