MCPcopy Create free account
hub / github.com/Gagravarr/VorbisJava / toUTF8Bytes

Method toUTF8Bytes

core/src/main/java/org/gagravarr/ogg/IOUtils.java:356–358  ·  view source on GitHub ↗

@return The length in BYTES

(String str)

Source from the content-addressed store, hash-verified

354 * @return The length in BYTES
355 */
356 public static byte[] toUTF8Bytes(String str) {
357 return str.getBytes(UTF8);
358 }
359 /**
360 * Writes the string out as UTF-8
361 */

Callers 6

OpusPacketInterface · 0.95
SpeexPacketInterface · 0.95
OggStreamIdentifierClass · 0.95
putUTF8Method · 0.95
SkeletonPacketInterface · 0.95
writeMethod · 0.95

Calls 1

getBytesMethod · 0.45

Tested by

no test coverage detected