mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Tweak ParsableByteArray#readLine javadoc
Don't refer to the "system's default charset", just specify UTF-8 explicitly. PiperOrigin-RevId: 343839878
This commit is contained in:
parent
6c31e34528
commit
b562adf26c
@ -526,8 +526,8 @@ public final class ParsableByteArray {
|
||||
* Reads a line of text.
|
||||
*
|
||||
* <p>A line is considered to be terminated by any one of a carriage return ('\r'), a line feed
|
||||
* ('\n'), or a carriage return followed immediately by a line feed ('\r\n'). The system's default
|
||||
* charset (UTF-8) is used. This method discards leading UTF-8 byte order marks, if present.
|
||||
* ('\n'), or a carriage return followed immediately by a line feed ('\r\n'). The UTF-8 charset is
|
||||
* used. This method discards leading UTF-8 byte order marks, if present.
|
||||
*
|
||||
* @return The line not including any line-termination characters, or null if the end of the data
|
||||
* has already been reached.
|
||||
|
Loading…
x
Reference in New Issue
Block a user