Home
last modified time | relevance | path

Searched refs:readBytesAsString (Results 1 – 3 of 3) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableBitArray.java290 public String readBytesAsString(int length) { in readBytesAsString() method in ParsableBitArray
291 return readBytesAsString(length, Charset.forName(C.UTF8_NAME)); in readBytesAsString()
302 public String readBytesAsString(int length, Charset charset) { in readBytesAsString() method in ParsableBitArray
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/
DAppInfoTableDecoder.java112 urlBase = sectionData.readBytesAsString(urlBaseLength, Charset.forName(C.ASCII_NAME)); in parseAit()
126 sectionData.readBytesAsString(descriptorLength, Charset.forName(C.ASCII_NAME)); in parseAit()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableBitArrayTest.java288 assertThat(testArray.readBytesAsString(testData.length - 2)).isEqualTo("non-åscii strìng"); in readBytesAsStringDefaultsToUtf8()
297 assertThat(testArray.readBytesAsString(testData.length - 6, Charset.forName(C.UTF16_NAME))) in readBytesAsStringExplicitCharset()
308 assertThrows(IllegalStateException.class, () -> testArray.readBytesAsString(2)); in readBytesNotByteAligned()