VersionDecorator.store

Serializes input with This.Serializer and prepends version number before struct data in the buffer.

  1. void[] store(S input, Buffer!(void) buffer)
    class VersionDecorator
    static
    void[]
    store
    (
    S
    )
    (,
    ref Buffer!(void) buffer
    )
  2. void[] store(S input, D[] buffer)

Parameters

input S

struct instance to serialize

buffer Buffer!(void)

destination buffer for serialized data

Return Value

Type: void[]

full slice of buffer

Meta