diff options
Diffstat (limited to 'compression/rle/read_write.go')
-rw-r--r-- | compression/rle/read_write.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go index e6f78e372..b4b73dab4 100644 --- a/compression/rle/read_write.go +++ b/compression/rle/read_write.go @@ -37,6 +37,8 @@ func Decompress(dat []byte) ([]byte, error) { } else { return nil, errors.New("error reading bytes. token encountered without proceeding bytes") } + } else { + buf.WriteByte(dat[i]) } } |