class Encode: sub class for FLT added; decode function reimplemented.