javazoom.jl.decoder.Bitstream.readFully()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中javazoom.jl.decoder.Bitstream.readFully()方法的一些代码示例,展示了Bitstream.readFully()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bitstream.readFully()方法的具体详情如下:
包路径:javazoom.jl.decoder.Bitstream
类名称:Bitstream
方法名:readFully

Bitstream.readFully介绍

[英]Reads the exact number of bytes from the source input stream into a byte array.
[中]将源输入流中的确切字节数读取到字节数组中。

代码示例

代码示例来源:origin: com.badlogicgames.jlayer/jlayer

/**
 * Reads the data for the next frame. The frame is not parsed until parse frame is called.
 */
int read_frame_data (int bytesize) throws BitstreamException {
  int numread = 0;
  numread = readFully(frame_bytes, 0, bytesize);
  framesize = bytesize;
  wordpointer = -1;
  bitindex = -1;
  return numread;
}

代码示例来源:origin: tulskiy/musique

/**
 * Reads the data for the next frame. The frame is not parsed
 * until parse frame is called.
 */
int read_frame_data(int bytesize) throws BitstreamException {
  int numread;
  numread = readFully(frame_bytes, 0, bytesize);
  framesize = bytesize;
  wordpointer = -1;
  bitindex = -1;
  return numread;
}

代码示例来源:origin: javazoom/jlayer

/**
 * Reads the data for the next frame. The frame is not parsed
 * until parse frame is called.
 */
int read_frame_data(int bytesize) throws BitstreamException
{
   int	numread = 0;
  numread = readFully(frame_bytes, 0, bytesize);
  framesize = bytesize;
  wordpointer = -1;
  bitindex = -1;
  return numread;
}

代码示例来源:origin: com.googlecode.soundlibs/jlayer

/**
 * Reads the data for the next frame. The frame is not parsed
 * until parse frame is called.
 */
int read_frame_data(int bytesize) throws BitstreamException
{
   int	numread = 0;
  numread = readFully(frame_bytes, 0, bytesize);
  framesize = bytesize;
  wordpointer = -1;
  bitindex = -1;
  return numread;
}

代码示例来源:origin: pdudits/soundlibs

/**
 * Reads the data for the next frame. The frame is not parsed
 * until parse frame is called.
 */
int read_frame_data(int bytesize) throws BitstreamException
{
   int	numread = 0;
  numread = readFully(frame_bytes, 0, bytesize);
  framesize = bytesize;
  wordpointer = -1;
  bitindex = -1;
  return numread;
}

相关文章