Example #1
0
 /// <summary>
 /// Compares <paramref name="count" /> characters of the
 /// string against <paramref name="str" />.
 /// </summary>
 public int Compare(byte *str, int count)
 {
     return(ByteString.Compare(Pointer, 0, str, 0, count));
 }
Example #2
0
 /// <summary>
 /// Compares <paramref name="count" /> characters of the
 /// string against <paramref name="str" />.
 /// </summary>
 public int Compare(int from, byte *str, int offset, int count)
 {
     return(ByteString.Compare(Pointer, from, str, offset, count));
 }
Example #3
0
 /// <summary>
 /// Compares <paramref name="count" /> characters of the
 /// string against <paramref name="str" />.
 /// </summary>
 public int Compare(string str, int offset, int count)
 {
     return(ByteString.Compare(Pointer, 0, str, offset, count));
 }
Example #4
0
 public int IndexOf(int from, byte *substr, int offset, int count)
 {
     return(IndexOf(from, substr, ByteString.Length(substr), offset, count));
 }