62
edits
Tlrobinson (talk | contribs) (Added link to tests) |
(→Instance methods (in prototype): There is no "default charset". And there should be none.) |
||
| Line 140: | Line 140: | ||
; toString() | ; toString() | ||
: A string debug representation like "[ByteArray 10]". Alternative debug representations are valid too, as long as (1) this method will never fail, (2) the length is included. | : A string debug representation like "[ByteArray 10]". Alternative debug representations are valid too, as long as (1) this method will never fail, (2) the length is included. | ||
; decodeToString(charset) | ; decodeToString(charset) | ||
: returns a String from its decoded bytes in a given charset | : returns a String from its decoded bytes in a given charset. | ||
; toByteArray() | ; toByteArray() | ||
: just a copy | : just a copy | ||
edits