Gets the length of the data.
public long getLength()
The exact length of the data. It is important that this value match precisely the length of the
data provided in the InputStream.