SkyAPM / cpp2sky

Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM
https://skywalking.apache.org
Apache License 2.0
58 stars 18 forks source link

minor update: use string view as parameter type and remove unnecessary `strlen` in the base64 encode method #96

Closed wbpcode closed 2 years ago

wbpcode commented 2 years ago

Signed-off-by: wbpcode wbphub@live.com

Minor changes of encode method.

  1. Remove uncessary strlen in the base64 encode method.
  2. Using string view as parameter type of base64 encode method.
wbpcode commented 2 years ago

cc @wu-sheng @Shikugawa