Skip to content
/ buftok Public

BufferedTokenizer extracts token delimited entities from a sequence of arbitrary inputs

License

Notifications You must be signed in to change notification settings

sferik/buftok

Repository files navigation

BufferedTokenizer

Gem Version Build Status Dependency Status

Statefully split input data by a specifiable token

BufferedTokenizer takes a delimiter upon instantiation, or acts line-based by default. It allows input to be spoon-fed from some outside source which receives arbitrary length datagrams which may-or-may-not contain the token by which entities are delimited. In this respect it's ideally paired with something like EventMachine.

Copyright

Copyright (c) 2006-2013 Tony Arcieri, Martin Emde. Distributed under the Ruby license.

About

BufferedTokenizer extracts token delimited entities from a sequence of arbitrary inputs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages