ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method SerializeDataOnly

    | Edit this page View Source

    SerializeDataOnly<T>(IGrid<T>)

    Extracts the raw, uncompressed memory buffer of the grid without any headers. Ideal for high-performance ingestion by external C++ tools.

    Declaration
    public static byte[] SerializeDataOnly<T>(this IGrid<T> grid) where T : unmanaged
    Parameters
    Type Name Description
    IGrid<T> grid
    Returns
    Type Description
    byte[]
    Type Parameters
    Name Description
    T
    Remarks

    Intended to be used in conjunction with SerializeMetadataOnly<T>(IGrid<T>) for a sidecar metadata file.