Class ByteUtils
public class ByteUtils : JVMBridgeBase<ByteUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ByteUtils>ByteUtils
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ByteUtils>.IsAssignableFrom(IJavaType)JVMBridgeBase<ByteUtils>.IsAssignableFrom<T>()JVMBridgeBase<ByteUtils>.Execute<T>(params T[])JVMBridgeBase<ByteUtils>.DynBridgeClazzJVMBridgeBase<ByteUtils>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
ByteUtils()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ByteUtils()
ByteUtils(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 ByteUtils(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
EMPTY_BUF
public static ByteBuffer EMPTY_BUF { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
ReadDouble(DataInput)
public static double ReadDouble(DataInput arg0)
Parameters
Returns
Exceptions
ReadDouble(ByteBuffer)
public static double ReadDouble(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
ReadIntBE(byte[], int)
public static int ReadIntBE(byte[] arg0, int arg1)
Parameters
Returns
ReadUnsignedInt(ByteBuffer)
public static long ReadUnsignedInt(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
ReadUnsignedInt(ByteBuffer, int)
public static long ReadUnsignedInt(ByteBuffer arg0, int arg1)
Parameters
arg0
ByteBufferarg1
int
Returns
ReadUnsignedIntLE(InputStream)
public static int ReadUnsignedIntLE(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
ReadUnsignedIntLE(byte[], int)
public static int ReadUnsignedIntLE(byte[] arg0, int arg1)
Parameters
Returns
ReadUnsignedVarint(ByteBuffer)
public static int ReadUnsignedVarint(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
ReadVarint(InputStream)
public static int ReadVarint(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
ReadVarint(ByteBuffer)
public static int ReadVarint(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
ReadVarlong(InputStream)
public static long ReadVarlong(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
ReadVarlong(ByteBuffer)
public static long ReadVarlong(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
SizeOfUnsignedVarint(int)
public static int SizeOfUnsignedVarint(int arg0)
Parameters
Returns
SizeOfUnsignedVarlong(long)
public static int SizeOfUnsignedVarlong(long arg0)
Parameters
Returns
SizeOfVarint(int)
public static int SizeOfVarint(int arg0)
Parameters
Returns
SizeOfVarlong(long)
public static int SizeOfVarlong(long arg0)
Parameters
Returns
WriteDouble(double, DataOutput)
public static void WriteDouble(double arg0, DataOutput arg1)
Parameters
arg0
doublearg1
DataOutput
Exceptions
WriteDouble(double, ByteBuffer)
public static void WriteDouble(double arg0, ByteBuffer arg1)
Parameters
arg0
doublearg1
ByteBuffer
WriteUnsignedInt(ByteBuffer, int, long)
public static void WriteUnsignedInt(ByteBuffer arg0, int arg1, long arg2)
Parameters
arg0
ByteBufferarg1
intarg2
long
WriteUnsignedInt(ByteBuffer, long)
public static void WriteUnsignedInt(ByteBuffer arg0, long arg1)
Parameters
arg0
ByteBufferarg1
long
WriteUnsignedIntLE(OutputStream, int)
public static void WriteUnsignedIntLE(OutputStream arg0, int arg1)
Parameters
arg0
OutputStreamarg1
int
Exceptions
WriteUnsignedIntLE(byte[], int, int)
public static void WriteUnsignedIntLE(byte[] arg0, int arg1, int arg2)
Parameters
WriteUnsignedVarint(int, DataOutput)
public static void WriteUnsignedVarint(int arg0, DataOutput arg1)
Parameters
arg0
intarg1
DataOutput
Exceptions
WriteUnsignedVarint(int, ByteBuffer)
public static void WriteUnsignedVarint(int arg0, ByteBuffer arg1)
Parameters
arg0
intarg1
ByteBuffer
WriteUnsignedVarlong(long, ByteBuffer)
public static void WriteUnsignedVarlong(long arg0, ByteBuffer arg1)
Parameters
arg0
longarg1
ByteBuffer
WriteVarint(int, DataOutput)
public static void WriteVarint(int arg0, DataOutput arg1)
Parameters
arg0
intarg1
DataOutput
Exceptions
WriteVarint(int, ByteBuffer)
public static void WriteVarint(int arg0, ByteBuffer arg1)
Parameters
arg0
intarg1
ByteBuffer
WriteVarlong(long, DataOutput)
public static void WriteVarlong(long arg0, DataOutput arg1)
Parameters
arg0
longarg1
DataOutput
Exceptions
WriteVarlong(long, ByteBuffer)
public static void WriteVarlong(long arg0, ByteBuffer arg1)
Parameters
arg0
longarg1
ByteBuffer