Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (14 loc) · 709 Bytes

README.md

File metadata and controls

29 lines (14 loc) · 709 Bytes

This project is no longer maintained and has been archived.

haskell-multicodec

An implementation of the multicodec specification in haskell.

To build the downloaded package:

 cd /path/to/extracted/repo
 
 cabal build

if you want to install:

 cabal install

This library exports the Multicodec module which comes with the Multicodec type and four functions:

 prefixByteString :: String -> ByteString -> Multicodec
 
 removePrefix :: Multicodec -> ByteString
 
 getPrefix :: Multicodec -> Word16
 
 getCodec :: Multicodec -> String

More information about the format at Multicodec