public String toString() {StringBuilder sb = new StringBuilder();sb.append('[');final int end = offset + length;for(int i=offset;i<end;i++) {if (i > offset) {sb.append(' ');}sb.append(Integer.toHexString(bytes[i]&0xff));}sb.append(']');return sb.toString();}
public override string ToString(){StringBuilder sb = new StringBuilder();sb.Append('[');int end = Offset + Length;for (int i = Offset; i < end; i++){if (i > Offset){sb.Append(' ');}sb.Append((bytes[i] & 0xff).ToString("x"));}sb.Append(']');return sb.ToString();}