Searched refs:readBytesAsString (Results 1 – 3 of 3) sorted by relevance
290 public String readBytesAsString(int length) { in readBytesAsString() method in ParsableBitArray291 return readBytesAsString(length, Charset.forName(C.UTF8_NAME)); in readBytesAsString()302 public String readBytesAsString(int length, Charset charset) { in readBytesAsString() method in ParsableBitArray
112 urlBase = sectionData.readBytesAsString(urlBaseLength, Charset.forName(C.ASCII_NAME)); in parseAit()126 sectionData.readBytesAsString(descriptorLength, Charset.forName(C.ASCII_NAME)); in parseAit()
288 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()