public ImmutableByteBufferInputStream(ByteBuffer bb){
  setBuffer(bb.slice());
}

public ImmutableByteBufferInputStream ( ByteBuffer bb ) { setBuffer ( bb . slice ( ) ) ; }
create an immutable input stream whose contents are the given bytes
