VersionDecorator.convert

Helper method that takes care of actual conversion routine between two struct types (those are assumed to be of compatible versions)

Uses this.convert_buffer for temporary allocations

More...
  1. Contiguous!(S) convert(Buffer!(void) buffer)
    class VersionDecorator
    convert
    (
    S
    Source
    )
    (
    ref Buffer!(void) buffer
    )
  2. Contiguous!(S) convert(void[] buffer)

Parameters

buffer Buffer!(void)

contains serialized Source instance, will be modified to store deserialized S instance instead.

Detailed Description

Template Params

S = needed struct type Source = struct type seralized into buffer

Meta