Package com.igormaznitsa.jbbp
Interface JBBPExternalValueProvider
public interface JBBPExternalValueProvider
The Interface describes a provider which can provide numeric size for decoded arrays by their names.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionintprovideArraySize(String fieldName, JBBPNamedNumericFieldMap numericFieldMap, JBBPCompiledBlock compiledBlock) Get an array size.
-
Method Details
-
provideArraySize
int provideArraySize(String fieldName, JBBPNamedNumericFieldMap numericFieldMap, JBBPCompiledBlock compiledBlock) Get an array size.- Parameters:
fieldName- the field name of the arraynumericFieldMap- the numeric field map contains information about already read fieldscompiledBlock- the compiled block for the script to provide extra information- Returns:
- the size of an array
-