public static void WriteMember(this BinaryWriter writer, byte memberId, IBinaryBlob blob) { if (blob != null) { writer.Write(memberId); writer.Write(blob); } }
public static void Write(this BinaryWriter writer, IBinaryBlob blob) { blob.Serialize(writer); }