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)
  2. void[] store(S input, D[] buffer)
    class VersionDecorator
    static
    void[]
    store
    (
    S
    D
    )
    (,
    ref D[] buffer
    )

Parameters

input S

struct instance to serialize

buffer D[]

destination buffer for serialized data

Return Value

Type: void[]

full slice of buffer

Meta