Removed commented out code

pull/7348/head
Jason Wilder 2016-09-26 09:28:21 -06:00
parent 7f96d78b79
commit 658149a6ff
2 changed files with 0 additions and 3 deletions

View File

@ -67,7 +67,6 @@ func (s *FloatEncoder) Reset() {
s.buf.Write([]byte{byte(floatCompressedGorilla << 4)})
s.bw.Resume(0x0, 8)
//s.bw = bitstream.NewWriter(&s.buf)
s.finished = false
s.first = true
@ -75,7 +74,6 @@ func (s *FloatEncoder) Reset() {
func (s *FloatEncoder) Bytes() ([]byte, error) {
return s.buf.Bytes(), s.err
//return append([]byte{floatCompressedGorilla << 4}, s.buf.Bytes()...), s.err
}
func (s *FloatEncoder) Finish() {

View File

@ -37,7 +37,6 @@ func (e *StringEncoder) Reset() {
}
func (e *StringEncoder) Write(s string) {
//println(len(e.bytes), cap(e.bytes))
b := make([]byte, 10)
// Append the length of the string using variable byte encoding
i := binary.PutUvarint(b, uint64(len(s)))