public BytesRef(byte[] bytes, int offset, int length) {this.bytes = bytes;this.offset = offset;this.length = length;assert isValid();}

public BytesRef ( byte [ ] bytes , int offset , int length ) { this . bytes = bytes ; this . offset = offset ; this . length = length ; assert isValid ( ) ; }
public BytesRef(byte[] bytes, int offset, int length){this.bytes = bytes;this.Offset = offset;this.Length = length;Debug.Assert(IsValid());}
