Serialize() публичный статический Метод

public static Serialize ( byte src, BinaryWriter writer ) : void
src byte
writer System.IO.BinaryWriter
Результат void
Пример #1
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(Constructor);
     StringUtil.Serialize(text, bw);
     BytesUtil.Serialize(data, bw);
 }
Пример #2
0
 public static void Serialize(string src, BinaryWriter writer)
 {
     BytesUtil.Serialize(Encoding.UTF8.GetBytes(src), writer);
 }