fast-builder-0.1.2.1: Fast ByteString Builder

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.FastBuilder.Unsafe

Description

Unsafe functions.

Synopsis

Documentation

unsafeCString :: CString -> Builder Source #

Turn a C String into a Builder. The behavior is undefined if the given CString does not point to a constant null-terminated string.

unsafeCStringLen :: CStringLen -> Builder Source #

Turn a CStringLen into a Builder. The behavior is undefined if the given CStringLen does not point to a constant memory block.