github.com/gotd/td/bin.Buffer.ResetTo (method)

8 uses

	github.com/gotd/td/bin (current package)
		buffer.go#L69: func (b *Buffer) ResetTo(buf []byte) {

	github.com/gotd/td/internal/exchange
		client_flow.go#L136: 	b.ResetTo(plaintextMsg.MessageData)
		client_flow.go#L157: 		b.ResetTo(data)
		client_flow.go#L229: 		b.ResetTo(plaintextMsg.MessageData)
		proto.go#L83: 	b.ResetTo(msg.MessageData)
		server_flow.go#L164: 		b.ResetTo(r)
		server_flow.go#L241: 	b.ResetTo(decrypted)

	github.com/gotd/td/internal/mtproto
		handle_result.go#L21: 	b.ResetTo(res.Result)