Пример #1
0
  /**
   * Starts a streaming packet
   *
   * <p>A streaming message starts with 'P'
   *
   * <pre>
   * P x02 x00
   * </pre>
   */
  public void startStreamingPacket() throws IOException {
    if (_refs != null) _refs.clear();

    flush();

    _isStreaming = true;
    _offset = 3;
  }
Пример #2
0
 /** Resets the references for streaming. */
 public void resetReferences() {
   if (_refs != null) _refs.clear();
 }