inputstream.adaptive