func (rr *RawRegion) Type() FlashRegionType {
	return rr.RegionType
}
Type returns the flash region type.
package uefi
type RawRegion struct {
	buf []byte
	ExtractPath string
	FRegion *FlashRegion
	RegionType FlashRegionType
}
func (rr *RawRegion) SetFlashRegion(fr *FlashRegion) {
	rr.FRegion = fr
}
func (rr *RawRegion) FlashRegion() (fr *FlashRegion) {
	return rr.FRegion
}
func NewRawRegion(buf []byte, r *FlashRegion, rt FlashRegionType) (Region, error) {
	rr := &RawRegion{FRegion: r, RegionType: rt}
	rr.buf = make([]byte, len(buf))
	copy(rr.buf, buf)
	return rr, nil
}