commit | 2eb48f02656aded7a54b3e2ce309f2edb412b241 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Fri Apr 19 14:21:12 2024 -0700 |
committer | Patrick Rohr <prohr@google.com> | Mon Apr 22 11:29:02 2024 -0700 |
tree | 1623bb9ea92dd34168f4e487da7017a4c92fc7d8 | |
parent | c03867b7575da41047a97a4e97b40b9f70d7e787 [diff] |
Log ping packet and reply and use ByteArray.toHexString ByteArray.toHexString is experimental stdlib API, so it requires a special annotation to be used. If there is a good reason not to use the experimental API, an extension function "asHexString()" could be added to. Unfortunately, ByteArray does not have a companion object, so it is not possible to add a fun ByteArray.Companion.fromHexString(). Test: TH Change-Id: Ifedc998e95d6a1e4cdeb5bd9982b9456e64e649c