PHPSerializer.serialize

Convenience method to serialize a struct.

  1. void serialize(ubyte[] output, T item)
    class PHPSerializer
    void
    serialize
    (
    T
    )
    (
    ref ubyte[] output
    ,
    ref T item
    )
  2. void serialize(ubyte[] output, T item, char[] name)

Parameters

T

type of struct to serialize

output ubyte[]

string to serialize struct data to

item T

struct to serialize

Meta