Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 4
0
 public int IndexOf(int from, byte *substr, int offset, int count)
 {
     return(IndexOf(from, substr, ByteString.Length(substr), offset, count));
 }