예제 #1
0
 public static void Encode(BinaryWriter writer, StreamId streamId)
 {
     P2ptpCommon.EncodeUInt32(writer, streamId?.Id ?? 0);
 }
예제 #2
0
 public static void Encode(StreamId streamId, byte[] data, ref int index)
 {
     P2ptpCommon.EncodeUInt32(data, ref index, streamId?.Id ?? 0);
 }