Decodes the encoded data using the schema.
Optional
validate: booleanAllow to use a fully defined Bitmap schema as input, but also allow one where only the entries of bits set are provided, rest is unset.
Optional validator that can be used to enforce constraints on the data before encoding / after decoding.
Define a schema to encode / decode convert type T to type E.