@Nonnull
	@Override
	public byte[] peek(int count) throws IOException {
		try (InputStream in = openStream()) {
			byte[] buf = new byte[count];
			int offset = 0;
			int r;
			while ((r = in.read(buf, offset, count)) > 0) {
				offset += r;
				count -= r;
			}
			return count == 0 ? buf : Arrays.copyOf(buf, offset);
		}
	}
@param path
		Path to read bytes from.
recaf-core/src/main/java/software/coley/recaf/util/io/PathByteSource.java