def pack_data(self):
        if self.body_fmt == None:
            raise util.LaspyException("Not a known VLR/EVLR type, can't pack parsed_body")
        try:
            packed = struct.pack(self.body_fmt.pt_fmt_long, *self.parsed_body)
        except Exception, error:    
            print("Error packing VLR data, using current raw vlr body.")
            print(error)
            packed = self.VLR_body
        self.VLR_body = packed
Pack data from parsed_body into VLR_body.
dataset/ETHPy150Open grantbrown/laspy/laspy/header.py/ParseableVLR.pack_data