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.String
assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Reflection.Metadatastatic java.lang.String
className
Qualified class name: System.Reflection.Metadata.BlobReaderstatic JCType
classType
The 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 void
Align(byte alignment)
static BlobReader
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoBlobReader
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getLength()
int
getOffset()
int
getRemainingBytes()
int
IndexOf(byte value)
BlobHandle
ReadBlobHandle()
boolean
ReadBoolean()
byte
ReadByte()
byte[]
ReadBytes(int byteCount)
void
ReadBytes(int byteCount, byte[] buffer, int bufferOffset)
void
ReadBytes(int dupParam0, JCORefOut dupParam1, int dupParam2)
char
ReadChar()
int
ReadCompressedInteger()
int
ReadCompressedSignedInteger()
NetObject
ReadConstant(ConstantTypeCode typeCode)
DateTime
ReadDateTime()
Decimal
ReadDecimal()
double
ReadDouble()
Guid
ReadGuid()
short
ReadInt16()
int
ReadInt32()
long
ReadInt64()
SByte
ReadSByte()
SerializationTypeCode
ReadSerializationTypeCode()
java.lang.String
ReadSerializedString()
SignatureHeader
ReadSignatureHeader()
SignatureTypeCode
ReadSignatureTypeCode()
Single
ReadSingle()
EntityHandle
ReadTypeHandle()
UInt16
ReadUInt16()
UInt32
ReadUInt32()
UInt64
ReadUInt64()
java.lang.String
ReadUTF16(int byteCount)
java.lang.String
ReadUTF8(int byteCount)
void
Reset()
void
setJCOInstance(JCObject instance)
void
setOffset(int Offset)
boolean
TryReadCompressedInteger(JCORefOut<java.util.concurrent.atomic.AtomicInteger> value)
boolean
TryReadCompressedSignedInteger(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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static BlobReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoBlobReader
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
BlobReader
instance- 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.Throwable
ArgumentException
InvalidOperationException
BadImageFormatException
-
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.Throwable
ArgumentException
BadImageFormatException
-
ReadCompressedSignedInteger
public int ReadCompressedSignedInteger() throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
BadImageFormatException
-
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.Throwable
ArgumentException
InvalidOperationException
BadImageFormatException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
ReadBlobHandle
public BlobHandle ReadBlobHandle() throws java.lang.Throwable, BadImageFormatException
- Throws:
java.lang.Throwable
BadImageFormatException
-
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.Throwable
ArgumentException
InvalidOperationException
BadImageFormatException
-
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.Throwable
ArgumentException
InvalidOperationException
BadImageFormatException
-
ReadSerializedString
public java.lang.String ReadSerializedString() throws java.lang.Throwable, ArgumentException, BadImageFormatException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
BadImageFormatException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
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
-
-