StructSerializer.dump

Dumps/serializes the content of s and its array members, writing serialized data to output.

  1. size_t dump(S* s, OutputStream output)
    struct StructSerializer(bool AllowUnions = false)
    static
    size_t
    dump
    (
    S
    )
  2. size_t dump(S* s, void delegate(void[] data) receive)

Parameters

s S*

struct instance (pointer)

output OutputStream

output stream to write serialized data to

Return Value

Type: size_t

number of bytes written

Meta