BinarySerializer.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 (there is exception, if vairable is not null it won't be allocated) T is the serialized variable COS is ubyte[] when load==Load.yes COS container supplied by user in which data is stored when load==Load.no(save) If load==load.skip data is not loaded but slice is pushed fruther

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

Meta