mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
31c2618ff9
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. WWW: https://github.com/sferik/buftok RG: https://rubygems.org/gems/buftok
9 lines
405 B
Plaintext
9 lines
405 B
Plaintext
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.
|
|
|
|
WWW: https://github.com/sferik/buftok
|
|
RG: https://rubygems.org/gems/buftok
|