add another check to make sure readBufferEnd is called before readEnd()
add another check to make sure readBufferEnd is called before readEnd()

mtCarto/PDAL,verma/PDAL,verma/PDAL,boundlessgeo/PDAL,mtCarto/PDAL,jwomeara/PDAL,lucadelu/PDAL,jwomeara/PDAL,Sciumo/PDAL,lucadelu/PDAL,DougFirErickson/PDAL,DougFirErickson/PDAL,verma/PDAL,mtCarto/PDAL,mpgerlek/PDAL-old,mpgerlek/PDAL-old,verma/PDAL,boundlessgeo/PDAL,lucadelu/PDAL,verma/PDAL,Sciumo/PDAL,verma/PDAL,radiantbluetechnologies/PDAL,boundlessgeo/PDAL,verma/PDAL,radiantbluetechnologies/PDAL,jwomeara/PDAL,radiantbluetechnologies/PDAL,jwomeara/PDAL,boundlessgeo/PDAL,DougFirErickson/PDAL,radiantbluetechnologies/PDAL,Sciumo/PDAL,lucadelu/PDAL,Sciumo/PDAL,mpgerlek/PDAL-old,mpgerlek/PDAL-old,mtCarto/PDAL,DougFirErickson/PDAL