public DataStream Write <T>(T?value) where T : struct { if (value == null) { DataStreamIO <T> .Write(this, default(T)); } else { DataStreamIO <T> .Write(this, value.Value); } return(this); }
public DataStream Serialize(DataStream ds) { DataStreamIO <T> .Write(ds, Value); return(ds); }
public DataStream Write <T>(T value) { DataStreamIO <T> .Write(this, value); return(this); }