Table of Contents

Class DataInputStream

Namespace
Java.Io
Assembly
MASES.JNet.dll
public class DataInputStream : FilterInputStream, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
DataInputStream
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

DataInputStream()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public DataInputStream()

DataInputStream(InputStream)

public DataInputStream(InputStream arg0)

Parameters

arg0 InputStream

InputStream

DataInputStream(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public DataInputStream(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

ReadBoolean()

public bool ReadBoolean()

Returns

bool

bool

Exceptions

IOException

ReadByte()

public byte ReadByte()

Returns

byte

byte

Exceptions

IOException

ReadChar()

public char ReadChar()

Returns

char

char

Exceptions

IOException

ReadDouble()

public double ReadDouble()

Returns

double

double

Exceptions

IOException

ReadFloat()

public float ReadFloat()

Returns

float

float

Exceptions

IOException

ReadFully(byte[])

public void ReadFully(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

ReadFully(byte[], int, int)

public void ReadFully(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Exceptions

IOException

ReadInt()

public int ReadInt()

Returns

int

int

Exceptions

IOException

ReadLong()

public long ReadLong()

Returns

long

long

Exceptions

IOException

ReadShort()

public short ReadShort()

Returns

short

short

Exceptions

IOException

ReadUTF()

public String ReadUTF()

Returns

String

String

Exceptions

IOException

ReadUTF(DataInput)

public static String ReadUTF(DataInput arg0)

Parameters

arg0 DataInput

DataInput

Returns

String

String

Exceptions

IOException

ReadUnsignedByte()

public int ReadUnsignedByte()

Returns

int

int

Exceptions

IOException

ReadUnsignedShort()

public int ReadUnsignedShort()

Returns

int

int

Exceptions

IOException

SkipBytes(int)

public int SkipBytes(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IOException

Operators

implicit operator DataInput(DataInputStream)

Converter from DataInputStream to DataInput

public static implicit operator DataInput(DataInputStream t)

Parameters

t DataInputStream

Returns

DataInput