See the reference documentation of GMLCodec for an overview of the decoding and encoding limitations.
GMLCodec