bytedance / sonic-cpp

A fast JSON serializing & deserializing library, accelerated by SIMD.
Apache License 2.0
835 stars 101 forks source link

fix: writebuffer size not include the null terminating #72

Closed liuq19 closed 1 year ago

liuq19 commented 1 year ago

writebuffer not include the null terminating char

codecov-commenter commented 1 year ago

Codecov Report

Merging #72 (3317a31) into master (2a48a60) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   95.78%   95.78%           
=======================================
  Files          21       21           
  Lines        2444     2445    +1     
=======================================
+ Hits         2341     2342    +1     
  Misses        103      103           
Impacted Files Coverage Δ
include/sonic/writebuffer.h 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more