Package system.reflection.metadata
Class BlobReader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.reflection.metadata.BlobReader
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class BlobReader extends ValueType
The base .NET class managing System.Reflection.Metadata.BlobReader, System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Metadata.BlobReader
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Reflection.Metadatastatic java.lang.StringclassNameQualified class name: System.Reflection.Metadata.BlobReaderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description BlobReader()BlobReader(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAlign(byte alignment)static BlobReadercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoBlobReader, a cast assert is made to check if types are compatible.java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetLength()intgetOffset()intgetRemainingBytes()intIndexOf(byte value)BlobHandleReadBlobHandle()booleanReadBoolean()byteReadByte()byte[]ReadBytes(int byteCount)voidReadBytes(int byteCount, byte[] buffer, int bufferOffset)voidReadBytes(int dupParam0, JCORefOut dupParam1, int dupParam2)charReadChar()intReadCompressedInteger()intReadCompressedSignedInteger()NetObjectReadConstant(ConstantTypeCode typeCode)DateTimeReadDateTime()DecimalReadDecimal()doubleReadDouble()GuidReadGuid()shortReadInt16()intReadInt32()longReadInt64()SByteReadSByte()SerializationTypeCodeReadSerializationTypeCode()java.lang.StringReadSerializedString()SignatureHeaderReadSignatureHeader()SignatureTypeCodeReadSignatureTypeCode()SingleReadSingle()EntityHandleReadTypeHandle()UInt16ReadUInt16()UInt32ReadUInt32()UInt64ReadUInt64()java.lang.StringReadUTF16(int byteCount)java.lang.StringReadUTF8(int byteCount)voidReset()voidsetJCOInstance(JCObject instance)voidsetOffset(int Offset)booleanTryReadCompressedInteger(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value)booleanTryReadCompressedSignedInteger(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Reflection.Metadata- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Reflection.Metadata.BlobReader- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static BlobReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoBlobReader, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
BlobReaderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ReadBoolean
public boolean ReadBoolean() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
TryReadCompressedInteger
public boolean TryReadCompressedInteger(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatException
-
TryReadCompressedSignedInteger
public boolean TryReadCompressedSignedInteger(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
ReadByte
public byte ReadByte() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadBytes
public byte[] ReadBytes(int byteCount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
ReadChar
public char ReadChar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadDouble
public double ReadDouble() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
ReadInt16
public short ReadInt16() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
IndexOf
public int IndexOf(byte value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
ReadCompressedInteger
public int ReadCompressedInteger() throws java.lang.Throwable, ArgumentException, BadImageFormatException- Throws:
java.lang.ThrowableArgumentExceptionBadImageFormatException
-
ReadCompressedSignedInteger
public int ReadCompressedSignedInteger() throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatException
-
ReadInt32
public int ReadInt32() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadInt64
public long ReadInt64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadSByte
public SByte ReadSByte() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadSingle
public Single ReadSingle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
ReadDateTime
public DateTime ReadDateTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException, ArgumentOutOfRangeException
-
ReadDecimal
public Decimal ReadDecimal() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, InvalidOperationException, IndexOutOfRangeException, FormatException
-
ReadGuid
public Guid ReadGuid() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadConstant
public NetObject ReadConstant(ConstantTypeCode typeCode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
ReadBlobHandle
public BlobHandle ReadBlobHandle() throws java.lang.Throwable, BadImageFormatException
- Throws:
java.lang.ThrowableBadImageFormatException
-
ReadTypeHandle
public EntityHandle ReadTypeHandle() throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException
-
ReadSerializationTypeCode
public SerializationTypeCode ReadSerializationTypeCode() throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatException
-
ReadSignatureHeader
public SignatureHeader ReadSignatureHeader() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
ReadSignatureTypeCode
public SignatureTypeCode ReadSignatureTypeCode() throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatException
-
ReadSerializedString
public java.lang.String ReadSerializedString() throws java.lang.Throwable, ArgumentException, BadImageFormatException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionBadImageFormatExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
ReadUTF16
public java.lang.String ReadUTF16(int byteCount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException, ArgumentOutOfRangeException
-
ReadUTF8
public java.lang.String ReadUTF8(int byteCount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException, ArgumentOutOfRangeException
-
ReadUInt16
public UInt16 ReadUInt16() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadUInt32
public UInt32 ReadUInt32() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
-
ReadUInt64
public UInt64 ReadUInt64() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
-
Align
public void Align(byte alignment) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, BadImageFormatException
-
ReadBytes
public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, ArrayTypeMismatchException
-
ReadBytes
public void ReadBytes(int dupParam0, JCORefOut dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, ArrayTypeMismatchException
-
Reset
public void Reset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLength
public int getLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOffset
public int getOffset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOffset
public void setOffset(int Offset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, BadImageFormatException
-
getRemainingBytes
public int getRemainingBytes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-