commit | 218c4070b9b274e604d77cf284140a1f73859a2a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Aug 04 14:59:10 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Aug 05 18:41:49 2021 +0000 |
tree | e0cfb94a27c4f74531816e8716d1585a852f101c | |
parent | 5bff74281079ff595935bf95793999f2fa3a0d86 [diff] |
binder: RpcTransport: change to size_t. - Change return type to Result<size_t> because negative numbers (-1) are converted to an Error(). - Change size argument from int to size_t because size_t is unsigned and is the best type to represent a "size". Test: pass Bug: 190868302 Fixes: 195592175 Change-Id: Ide26d2d5cc11a9b776fc3dc0a2281300f611b327