LuaSerializer.serialize

Function loads and saves data depending on compile time variable load If useMalloc is true pointers, arrays, classes will be saved and loaded using Mallocator T is the serialized variable ContainerOrSlice is char[] when load==Load.yes ContainerOrSlice container supplied by user in which data is stored when load==Load.no(save)

  1. void serialize(T var, ContainerOrSlice con)
    class LuaSerializer
    void
    serialize
    (
    Load load
    bool useMalloc = false
    T
    ContainerOrSlice
    )
    (
    ref T var
    ,
    ref ContainerOrSlice con
    )
  2. void serialize(T var, ContainerOrSlice con)

Meta