operator<<, >> support compressed version