github.com/gotd/td/internal/mtproto.Cipher.DecryptFromBuffer (method)

2 uses

	github.com/gotd/td/internal/mtproto (current package)
		conn.go#L43: 	DecryptFromBuffer(k crypto.AuthKey, buf *bin.Buffer) (*crypto.EncryptedMessageData, error)
		read.go#L54: 	msg, err := c.cipher.DecryptFromBuffer(session.Key, b)