コード例 #1
0
 /// <summary>Create a new sequence from an existing content byte array.</summary>
 /// <remarks>
 /// Create a new sequence from an existing content byte array.
 /// <p>
 /// The entire array (indexes 0 through length-1) is used as the content.
 /// </remarks>
 /// <param name="input">
 /// the content array. The array is never modified, so passing
 /// through cached arrays is safe.
 /// </param>
 public RawText(byte[] input)
 {
     content = input;
     lines   = RawParseUtils.LineMap(content, 0, content.Length);
 }