ReadByteArray
ReadByteArray[src] gives the contents of src as a ByteArray object.
ReadByteArray[src,n] reads the first n bytes from src.
ReadByteArray[src,term] reads until the termination condition term is satisfied.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.