github.com/gotd/td/bin.Buffer.ConsumeN (method)
7 uses
github.com/gotd/td/bin (current package)
decode.go#L69: func (b *Buffer) ConsumeN(target []byte, n int) error {
github.com/gotd/td/internal/crypto
encrypted_message.go#L15: if err := b.ConsumeN(e.AuthKeyID[:], 8); err != nil {
encrypted_message.go#L27: if err := b.ConsumeN(e.EncryptedData, b.Len()); err != nil {
encrypted_message.go#L36: if err := b.ConsumeN(e.AuthKeyID[:], 8); err != nil {
github.com/gotd/td/internal/proto
container.go#L95: return b.ConsumeN(m.Body, m.Bytes)
unencrypted_message.go#L41: if err := b.ConsumeN(u.MessageData, int(dataLen)); err != nil {
github.com/gotd/td/session/tdesktop
dbi.go#L165: return r.buf.ConsumeN(target, n)
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. |