Deserializer.deserialize

Deserializes src in-place. If array branching is needed, length of src will be increased to be able to store those.

  1. Contiguous!(S) deserialize(Buffer!(void) src)
  2. Contiguous!(S) deserialize(void[] src)
    struct Deserializer
    static
    deserialize
    (
    S
    )
    (
    ref void[] src
    )
  3. Contiguous!(S) deserialize(void[] src, Contiguous!(S) dst)

Parameters

S

struct type expected

src void[]

data buffer previously created by Serializer

Return Value

Type: Contiguous!(S)

src wrapped in Contiguous, ready to use data. Must not outlive src origin.

Meta