Package system.reflection.metadata
Class BlobBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.reflection.metadata.BlobBuilder
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class BlobBuilder extends NetObject
The base .NET class managing System.Reflection.Metadata.BlobBuilder, 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.BlobBuilder
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.BlobBuilderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description BlobBuilder()BlobBuilder(int capacity)BlobBuilder(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAlign(int alignment)static BlobBuildercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoBlobBuilder, a cast assert is made to check if types are compatible.voidClear()booleanContentEquals(BlobBuilder other)intgetCount()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 TypevoidLinkPrefix(BlobBuilder prefix)voidLinkSuffix(BlobBuilder suffix)voidPadTo(int position)BlobReserveBytes(int byteCount)voidsetJCOInstance(JCObject instance)byte[]ToArray()byte[]ToArray(int start, int byteCount)intTryWriteBytes(Stream source, int byteCount)voidWriteBoolean(boolean value)voidWriteByte(byte value)voidWriteBytes(byte[] buffer)voidWriteBytes(byte[] buffer, int start, int byteCount)voidWriteBytes(byte value, int byteCount)voidWriteBytes(JCORefOut dupParam0)voidWriteBytes(JCORefOut dupParam0, int dupParam1, int dupParam2)voidWriteCompressedInteger(int value)voidWriteCompressedSignedInteger(int value)voidWriteConstant(NetObject value)voidWriteContentTo(JCORefOut<BlobWriter> destination)voidWriteContentTo(Stream destination)voidWriteContentTo(BlobBuilder destination)voidWriteDateTime(DateTime value)voidWriteDecimal(Decimal value)voidWriteDouble(double value)voidWriteGuid(Guid value)voidWriteInt16(short value)voidWriteInt16BE(short value)voidWriteInt32(int value)voidWriteInt32BE(int value)voidWriteInt64(long value)voidWriteReference(int reference, boolean isSmall)voidWriteSByte(SByte value)voidWriteSerializedString(java.lang.String value)voidWriteSingle(Single value)voidWriteUInt16(UInt16 value)voidWriteUInt16BE(UInt16 value)voidWriteUInt32(UInt32 value)voidWriteUInt32BE(UInt32 value)voidWriteUInt64(UInt64 value)voidWriteUserString(java.lang.String value)voidWriteUTF16(char[] value)voidWriteUTF16(java.lang.String value)voidWriteUTF16(JCORefOut dupParam0)voidWriteUTF8(java.lang.String value, boolean allowUnpairedSurrogates)
-
-
-
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.BlobBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BlobBuilder
public BlobBuilder(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
BlobBuilder
public BlobBuilder() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
BlobBuilder
public BlobBuilder(int capacity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static BlobBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoBlobBuilder, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
BlobBuilderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ContentEquals
public boolean ContentEquals(BlobBuilder other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, ArrayTypeMismatchException
-
ToArray
public byte[] ToArray() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
ToArray
public byte[] ToArray(int start, int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
TryWriteBytes
public int TryWriteBytes(Stream source, int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
ReserveBytes
public Blob ReserveBytes(int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
Align
public void Align(int alignment) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
LinkPrefix
public void LinkPrefix(BlobBuilder prefix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
LinkSuffix
public void LinkSuffix(BlobBuilder suffix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
PadTo
public void PadTo(int position) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
WriteBoolean
public void WriteBoolean(boolean value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteByte
public void WriteByte(byte value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteBytes
public void WriteBytes(byte value, int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteBytes
public void WriteBytes(byte[] buffer, int start, int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteBytes
public void WriteBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteBytes
public void WriteBytes(byte[] buffer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteBytes
public void WriteBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteCompressedInteger
public void WriteCompressedInteger(int value) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
WriteCompressedSignedInteger
public void WriteCompressedSignedInteger(int value) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
WriteConstant
public void WriteConstant(NetObject value) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentNullException, ArrayTypeMismatchException, NotSupportedException
-
WriteContentTo
public void WriteContentTo(Stream destination) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
WriteContentTo
public void WriteContentTo(BlobBuilder destination) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteContentTo
public void WriteContentTo(JCORefOut<BlobWriter> destination) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
-
WriteDateTime
public void WriteDateTime(DateTime value) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
WriteDecimal
public void WriteDecimal(Decimal value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteDouble
public void WriteDouble(double value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteGuid
public void WriteGuid(Guid value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
WriteInt16
public void WriteInt16(short value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteInt16BE
public void WriteInt16BE(short value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteInt32
public void WriteInt32(int value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteInt32BE
public void WriteInt32BE(int value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteInt64
public void WriteInt64(long value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteReference
public void WriteReference(int reference, boolean isSmall) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteSByte
public void WriteSByte(SByte value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteSerializedString
public void WriteSerializedString(java.lang.String value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteSingle
public void WriteSingle(Single value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUInt16
public void WriteUInt16(UInt16 value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUInt16BE
public void WriteUInt16BE(UInt16 value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUInt32
public void WriteUInt32(UInt32 value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUInt32BE
public void WriteUInt32BE(UInt32 value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUInt64
public void WriteUInt64(UInt64 value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
WriteUserString
public void WriteUserString(java.lang.String value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
WriteUTF16
public void WriteUTF16(char[] value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteUTF16
public void WriteUTF16(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteUTF16
public void WriteUTF16(java.lang.String value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
WriteUTF8
public void WriteUTF8(java.lang.String value, boolean allowUnpairedSurrogates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-