primMapByteStringBounded

primMapByteStringBounded :: BoundedPrim Word8 -> ByteString -> Builder
bytestring Data.ByteString.Builder.Prim
Create a Builder that encodes each Word8 of a strict ByteString using a BoundedPrim. For example, we can write a Builder that filters a strict ByteString as follows. > import Data.ByteString.Builder.Primas P (word8, condB, emptyB) > filterBS p = P.condB p P.word8 P.emptyB