Skip to content

Repository files navigation

fixed-width-decoder

fixed width string reading library written in Swift.

Usage for reading fixed width strings

From string

import FW
letfwString=" 1foo\n 2bar\n"letreader=try!FWReader(string: fwString, rowWidth:7, fieldSizes:[3,3])whilelet row = reader.next(){print("\(row)")}
// => [" 1", "foo"]
// => [" 2", "bar"]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages