public class BlobWriter extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Metadata.BlobWriter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Reflection.Metadata, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Reflection.Metadata
|
static java.lang.String |
className
Qualified class name: System.Reflection.Metadata.BlobWriter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BlobWriter() |
BlobWriter(Blob blob) |
BlobWriter(byte[] buffer) |
BlobWriter(byte[] buffer,
int start,
int count) |
BlobWriter(int size) |
BlobWriter(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Align(int alignment) |
static BlobWriter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BlobWriter, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
ContentEquals(BlobWriter other) |
Blob |
getBlob() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLength() |
int |
getOffset() |
int |
getRemainingBytes() |
void |
PadTo(int offset) |
void |
setJCOInstance(JCObject instance) |
void |
setOffset(int Offset) |
byte[] |
ToArray() |
byte[] |
ToArray(int start,
int byteCount) |
void |
WriteBoolean(boolean value) |
void |
WriteByte(byte value) |
void |
WriteBytes(BlobBuilder source) |
void |
WriteBytes(byte[] buffer) |
void |
WriteBytes(byte[] buffer,
int start,
int byteCount) |
void |
WriteBytes(byte value,
int byteCount) |
void |
WriteBytes(JCORefOut dupParam0) |
void |
WriteBytes(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
WriteBytes(Stream source,
int byteCount) |
void |
WriteCompressedInteger(int value) |
void |
WriteCompressedSignedInteger(int value) |
void |
WriteConstant(NetObject value) |
void |
WriteDateTime(DateTime value) |
void |
WriteDecimal(Decimal value) |
void |
WriteDouble(double value) |
void |
WriteGuid(Guid value) |
void |
WriteInt16(short value) |
void |
WriteInt16BE(short value) |
void |
WriteInt32(int value) |
void |
WriteInt32BE(int value) |
void |
WriteInt64(long value) |
void |
WriteReference(int reference,
boolean isSmall) |
void |
WriteSByte(SByte value) |
void |
WriteSerializedString(java.lang.String str) |
void |
WriteSingle(Single value) |
void |
WriteUInt16(UInt16 value) |
void |
WriteUInt16BE(UInt16 value) |
void |
WriteUInt32(UInt32 value) |
void |
WriteUInt32BE(UInt32 value) |
void |
WriteUInt64(UInt64 value) |
void |
WriteUserString(java.lang.String value) |
void |
WriteUTF16(char[] value) |
void |
WriteUTF16(JCORefOut dupParam0) |
void |
WriteUTF16(java.lang.String value) |
void |
WriteUTF8(java.lang.String value,
boolean allowUnpairedSurrogates) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BlobWriter()
throws java.lang.Throwable
java.lang.Throwablepublic BlobWriter(Blob blob) throws java.lang.Throwable
java.lang.Throwablepublic BlobWriter(byte[] buffer)
throws java.lang.Throwable
java.lang.Throwablepublic BlobWriter(byte[] buffer,
int start,
int count)
throws java.lang.Throwable
java.lang.Throwablepublic BlobWriter(int size)
throws java.lang.Throwable
java.lang.Throwablepublic BlobWriter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Align(int alignment)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
BadImageFormatException
public static BlobWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BlobWriter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBlobWriter instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable
java.lang.Throwablepublic boolean ContentEquals(BlobWriter other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException
public Blob getBlob() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic int getLength()
throws java.lang.Throwable
java.lang.Throwablepublic int getOffset()
throws java.lang.Throwable
java.lang.Throwablepublic int getRemainingBytes()
throws java.lang.Throwable
java.lang.Throwablepublic void PadTo(int offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
BadImageFormatException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic void setOffset(int Offset)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public byte[] ToArray()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException
public byte[] ToArray(int start,
int byteCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public void WriteBoolean(boolean value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteByte(byte value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
BadImageFormatException
public void WriteBytes(BlobBuilder source) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
public void WriteBytes(byte[] buffer)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteBytes(byte[] buffer,
int start,
int byteCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteBytes(byte value,
int byteCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
public void WriteBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
public int WriteBytes(Stream source, int byteCount) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
public void WriteCompressedInteger(int value)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
BadImageFormatException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic void WriteCompressedSignedInteger(int value)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
BadImageFormatException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic void WriteConstant(NetObject value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, FormatException
public void WriteDateTime(DateTime value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, BadImageFormatException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionBadImageFormatExceptionPlatformNotSupportedExceptionpublic void WriteDecimal(Decimal value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, IndexOutOfRangeException
public void WriteDouble(double value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
BadImageFormatException,
NotSupportedException
public void WriteGuid(Guid value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, ArrayTypeMismatchException
public void WriteInt16(short value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteInt16BE(short value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteInt32(int value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteInt32BE(int value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteInt64(long value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteReference(int reference,
boolean isSmall)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException
public void WriteSByte(SByte value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, BadImageFormatException
public void WriteSerializedString(java.lang.String str)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
BadImageFormatException,
ArgumentOutOfRangeException
public void WriteSingle(Single value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException, NotSupportedException
public void WriteUInt16(UInt16 value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
public void WriteUInt16BE(UInt16 value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
public void WriteUInt32(UInt32 value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
public void WriteUInt32BE(UInt32 value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
public void WriteUInt64(UInt64 value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, BadImageFormatException
public void WriteUserString(java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteUTF16(char[] value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteUTF16(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, BadImageFormatException
public void WriteUTF16(java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException
public void WriteUTF8(java.lang.String value,
boolean allowUnpairedSurrogates)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
BadImageFormatException