public class

TailAppendingInputStream

extends FilterInputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ java.io.FilterInputStream
       ↳ com.facebook.common.streams.TailAppendingInputStream

Class Overview

InputStream that returns all bytes from another stream, then appends the specified 'tail' bytes.

Summary

[Expand]
Inherited Fields
From class java.io.FilterInputStream
Public Constructors
TailAppendingInputStream(InputStream inputStream, byte[] tail)
Public Methods
void mark(int readLimit)
int read()
int read(byte[] buffer, int offset, int count)
int read(byte[] buffer)
void reset()
[Expand]
Inherited Methods
From class java.io.FilterInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.lang.AutoCloseable

Public Constructors

public TailAppendingInputStream (InputStream inputStream, byte[] tail)

Public Methods

public void mark (int readLimit)

public int read ()

Throws
IOException

public int read (byte[] buffer, int offset, int count)

Throws
IOException

public int read (byte[] buffer)

Throws
IOException

public void reset ()

Throws
IOException