public interface ILookahead
CharsetConverter
to query for more bytes to
convert based on the last character decoded. This is most commonly used for
line ending lookahead when \r\n needs to be converted to \n. The lookahead in
that case would get the next x bytes where x is the number of bytes wide the
\n character is when the \r character is specified as the last decoded
character.Modifier and Type | Method and Description |
---|---|
byte[] |
bytesToAdd(char lastDecodedChar)
Get an array of bytes to add based on the last decoded character found.
|
byte[] bytesToAdd(char lastDecodedChar)
lastDecodedChar
- Copyright © 2017 Perforce Software. All Rights Reserved.