---
layout: "default"
title: "UnsafeBufferPointerGenerator"
description: "Swift documentation for 'UnsafeBufferPointerGenerator': A generator for the elements in the buffer referenced by
UnsafeBufferPointer or UnsafeMutableBufferPointer."
keywords: "UnsafeBufferPointerGenerator,struct,swift,documentation,contains,dropFirst,dropFirst,dropLast,dropLast,elementsEqual,enumerate,filter,flatMap,flatMap,forEach,lexicographicalCompare,map,maxElement,minElement,next,prefix,reduce,reverse,sort,split,startsWith,suffix