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

7 uses

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

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

	github.com/gotd/td/internal/mtproto
		new_encrypted_msg.go#L48: 				Message:   proto.GZIP{Data: payloadBuf.Raw()},

	github.com/gotd/td/internal/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 {