Here you can find the source of readLong(DataInputStream inputStream)
Parameter | Description |
---|---|
inputStream | a parameter |
Parameter | Description |
---|---|
IOException | an exception |
public final static long readLong(DataInputStream inputStream) throws IOException
//package com.java2s; /******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors:/* w w w. j a va2 s . c o m*/ * Actuate Corporation - initial API and implementation *******************************************************************************/ import java.io.DataInputStream; import java.io.IOException; public class Main { /** * Read a long value from an input stream * * @param inputStream * @return int value * @throws IOException */ public final static long readLong(DataInputStream inputStream) throws IOException { return inputStream.readLong(); } }