Method | Description | |
---|---|---|
RawText ( byte input ) : System.IO |
Create a new sequence from an existing content byte array.
|
|
equals ( int thisIdx, Sequence other, int otherIdx ) : bool | ||
isMissingNewlineAtEnd ( ) : bool |
Determine if the file ends with a LF ('\n').
|
|
size ( ) : int | ||
writeLine ( |
Write a specific line to the output stream, without its trailing LF.
|
Method | Description | |
---|---|---|
HashLine ( byte raw, int ptr, int end ) : int |
Compute a hash code for a single line.
|
|
computeHashes ( ) : |
||
equals ( |
public RawText ( byte input ) : System.IO | ||
input | byte | /// the content array. The array is never modified, so passing /// through cached arrays is safe. /// |
return | System.IO |
public equals ( int thisIdx, Sequence other, int otherIdx ) : bool | ||
thisIdx | int | |
other | Sequence | |
otherIdx | int | |
return | bool |
public writeLine ( |
||
@out | ||
i | int | /// Index of the line to extract. Note this is 0-based, so line /// number 1 is actually index 0. |
return | void |