sampleRate = bytestoint(packet, offset+36); channels   = bytestoint(packet, offset+48); nframes    = bytestoint(packet, offset+64);
sampleRate = readInt(packet, offset+36); channels   = readInt(packet, offset+48); nframes    = readInt(packet, offset+64);
  private static boolean readSpeexHeader(byte[] packet, int offset, int bytes)  {    if (bytes!=80) {      return false;    }    if (!"Speex   ".equals(new String(packet, 0, 8))) {      return false;    }    mode       = packet[40+offset] & 0xFF;    sampleRate = bytestoint(packet, offset+36);    channels   = bytestoint(packet, offset+48);    nframes    = bytestoint(packet, offset+64);    return speexDecoder.init(mode, sampleRate, channels, enhanced);  }