// Adds a mask band to the dataset func (dataset Dataset) CreateMaskBand(flags int) error { err := C.GDALCreateDatasetMaskBand(dataset.cval, C.int(flags)) if err != 0 { return error(err) } return nil }
// Adds a mask band to the dataset func (dataset Dataset) CreateMaskBand(flags int) error { return C.GDALCreateDatasetMaskBand(dataset.cval, C.int(flags)).Err() }