Fixed a problem of adding padding of 4 zero bytes in some cases (#194)
Fixed a problem of adding padding of 4 zero bytes in some cases (#194)

* Fixed a problem of adding padding of 4 zero bytes in some cases

* Incorporated review comments

prometheus/prometheus,GoogleCloudPlatform/prometheus,kangwoo/prometheus,prometheus/prometheus,alileza/prometheus,kangwoo/prometheus,Gouthamve/prometheus,Gouthamve/prometheus,keegancsmith/prometheus,alileza/prometheus,prometheus/prometheus,prometheus/prometheus,alileza/prometheus,Gouthamve/tsdb,keegancsmith/prometheus,prometheus/prometheus,GoogleCloudPlatform/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,GoogleCloudPlatform/prometheus,GoogleCloudPlatform/prometheus,keegancsmith/prometheus,alileza/prometheus,kangwoo/prometheus,prometheus/tsdb,alileza/prometheus,Gouthamve/prometheus,Gouthamve/prometheus,kangwoo/prometheus,keegancsmith/prometheus