ServerJS/Encodings: Difference between revisions

Jump to navigation Jump to search
→‎Class: Converter: unidirectional!
(→‎Class: Converter: unidirectional!)
Line 44: Line 44:


There also should be a class enc.Converter for more advanced conversion.
There also should be a class enc.Converter for more advanced conversion.
Please note that the interface is ''one way''. Despite the fact that it has two methods, it's ''one way''. It only supports ''encoding'', '''no''' decoding! Multiple people have got that wrong when glancing over it, so it's emphasised here.


; [Constructor] Converter(from, to)
; [Constructor] Converter(from, to)
62

edits

Navigation menu