Java tutorial
//package com.java2s; import java.io.IOException; import java.io.RandomAccessFile; public class Main { static boolean checkMPEntryTag(RandomAccessFile randomAccessFile) throws IOException { if (45058 == (65535 & randomAccessFile.readShort())) { return true; } return false; } }