class Converter
package nb.fs
A converter.
If you want to use it globally, you can use nb.fs.ConverterManager
.
Available since
0.1.0
.Constructor
new(fromType:Array<String>, toType:Array<String>, f:(Bytes, Array<String>) ‑> Bytes, ?keywords:Array<String>, priority:Int = 0)
Creates a new nb.fs.Converter
instance.
Parameters:
fromType | Type to convert from. |
---|---|
toType | Type to convert to. |
f | The function that does the conversion. Has the bytes to be converted then |
keywords | Strings used as parameters when doing conversion. |
priority | It's priority level. Default is 0. |