Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class DynamicBytes dbytes Source #
lengthD, withPeekD, fromWordsD
DynamicBytes ByteString Source # | |
(~) * word8 Word8 => DynamicBytes (Vector word8) Source # | |
(~) * word8 Word8 => DynamicBytes (Vector word8) Source # | |
(~) * word8 Word8 => DynamicBytes (Vector word8) Source # | |
class StaticBytes sbytes Source #
lengthS, toWordsS, usePeekS
data StaticBytesException Source #
toStaticExact :: forall dbytes sbytes. (DynamicBytes dbytes, StaticBytes sbytes) => dbytes -> Either StaticBytesException sbytes Source #
toStaticPad :: forall dbytes sbytes. (DynamicBytes dbytes, StaticBytes sbytes) => dbytes -> Either StaticBytesException sbytes Source #
toStaticTruncate :: forall dbytes sbytes. (DynamicBytes dbytes, StaticBytes sbytes) => dbytes -> Either StaticBytesException sbytes Source #
toStaticPadTruncate :: (DynamicBytes dbytes, StaticBytes sbytes) => dbytes -> sbytes Source #
fromStatic :: forall dbytes sbytes. (DynamicBytes dbytes, StaticBytes sbytes) => sbytes -> dbytes Source #