func (rr *RawRegion) SetBuf(buf []byte) {
	rr.buf = buf
}
SetBuf sets the buffer.
Used mostly for things interacting with the Firmware interface.
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
}
func (rr *RawRegion) Type() FlashRegionType {
	return rr.RegionType
}
func (rr *RawRegion) Buf() []byte {
	return rr.buf
}