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

9 uses

	github.com/gotd/td/bin (current package)
		buffer.go#L56: func (b Buffer) Raw() []byte {

	github.com/gotd/td/exchange
		server_flow.go#L251: 	answer, err := crypto.EncryptExchangeAnswer(s.rand, b.Raw(), key, iv)

	github.com/gotd/td/mtproto
		new_encrypted_msg.go#L53: 				Message:   proto.GZIP{Data: payloadBuf.Raw()},
		new_encrypted_msg.go#L61: 				if err := (proto.GZIP{Data: payloadBuf.Raw()}).Encode(gzipBuf); err != nil {
		new_encrypted_msg.go#L67: 				c.traceMessage(WireOut, s.Key, s.Salt, s.ID, id, seq, body.Raw())

	github.com/gotd/td/proto/codec
		abridged.go#L113: 	if _, err := w.Write(b.Raw()); err != nil {
		full.go#L62: 	write.Put(b.Raw())
		full.go#L64: 	crc := crc32.ChecksumIEEE(write.Raw())
		full.go#L67: 	if _, err := w.Write(write.Raw()); err != nil {