elems -array -containers

bufferElems :: Buffer e -> Int
base GHC.IO.Buffer