- Source:
Classes
Methods
-
<static> RecordParser.newDelimited(delim, output) → {RecordParser}
-
Create a new
RecordParserinstance, initially in delimited mode, and where the delimiter can be represented by theBufferdelim.outputWill receive whole records which have been parsed.Parameters:
Name Type Description delimBuffer the initial delimiter buffer outputfunction handler that will receive the output - Source:
Returns:
- Type
- RecordParser
-
<static> RecordParser.newFixed(size, output) → {RecordParser}
-
Create a new
RecordParserinstance, initially in fixed size mode, and where the record size is specified by thesizeparameter.outputWill receive whole records which have been parsed.Parameters:
Name Type Description sizenumber the initial record size outputfunction handler that will receive the output - Source:
Returns:
- Type
- RecordParser