public byte[] read(int streamOffset, int numToRead) throws IOException, CancelledException {
		if (numToRead <= 0) {
			return null;
		}
		byte[] bytes = new byte[numToRead];
		read(streamOffset, bytes, 0, numToRead);
		return bytes;
	}
Reads numToRead bytes from the stream starting at streamOffset within the stream.
 Returns the byte array containing the read information. If not all bytes are available
 to be read, an IOException will be thrown
@param streamOffset location within the stream from where to start reading bytes
@param numToRead number of bytes to read from the stream
@return byte[] containing the bytes read
@throws IOException on file seek or read, invalid parameters, bad file configuration, or
 inability to read required bytes
@throws CancelledException upon user cancellation
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfStream.java