Java tutorial
//package com.java2s; import java.io.DataInputStream; import java.io.IOException; public class Main { public static boolean readBoolean(DataInputStream is) throws IOException { return is.readBoolean(); } }