Commit ed97ea2a authored by Brickner_cp's avatar Brickner_cp

HTTP

parent 02e50af6
...@@ -12,6 +12,16 @@ namespace PcapDotNet.Packets ...@@ -12,6 +12,16 @@ namespace PcapDotNet.Packets
/// </summary> /// </summary>
public static class ByteArrayExtensions public static class ByteArrayExtensions
{ {
public static int Compare(this byte[] array, int offset, byte[] other, int otherOffset, int count)
{
throw new NotImplementedException();
}
public static bool SequenceEqual(this byte[] array, int offset, byte[] other, int otherOffset, int count)
{
return array.Compare(offset, other, otherOffset, count) == 0;
}
/// <summary> /// <summary>
/// Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset. /// Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.
/// </summary> /// </summary>
......
This diff is collapsed.
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
<Compile Include="Gre\GreSourceRouteEntryIp.cs" /> <Compile Include="Gre\GreSourceRouteEntryIp.cs" />
<Compile Include="Gre\GreSourceRouteEntryUnknown.cs" /> <Compile Include="Gre\GreSourceRouteEntryUnknown.cs" />
<Compile Include="Gre\GreVersion.cs" /> <Compile Include="Gre\GreVersion.cs" />
<Compile Include="Http\HttpDatagram.cs" />
<Compile Include="Icmp\IcmpAddressMaskReplyDatagram.cs" /> <Compile Include="Icmp\IcmpAddressMaskReplyDatagram.cs" />
<Compile Include="Icmp\IcmpAddressMaskReplyLayer.cs" /> <Compile Include="Icmp\IcmpAddressMaskReplyLayer.cs" />
<Compile Include="Icmp\IcmpAddressMaskRequestLayer.cs" /> <Compile Include="Icmp\IcmpAddressMaskRequestLayer.cs" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment