public class MP3 extends Object
| 构造器和说明 |
|---|
MP3(InputStream stream) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
ParserFrame()
发生网络数据错误,或者没有读到需要的数据,都会抛出异常.因此,外部调用程序要控制数据大小,到了MP3.length -
128的时候就不要再读了,程序不会检查是否已经到了末尾.
|
int |
parserMp3Header() |
byte[] |
readFull(int size) |
boolean |
skipBytes(long skipLength) |
long |
SkipFrame(long num) |
public MP3(InputStream stream)
public int parserMp3Header()
throws IOException
IOExceptionpublic long SkipFrame(long num)
throws IOException
IOExceptionpublic byte[] ParserFrame()
throws IOException
IOExceptionExceptionpublic byte[] readFull(int size)
throws IOException
IOExceptionpublic boolean skipBytes(long skipLength)
throws IOException
IOExceptionCopyright © 2024. All rights reserved.