Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Reflection.Metadata.BlobWriter Struct Reference

Public Member Functions

 BlobWriter (int size)
 
 BlobWriter (byte[] buffer)
 
 BlobWriter (Blob blob)
 
 BlobWriter (byte[] buffer, int start, int count)
 
bool ContentEquals (BlobWriter other)
 
byte[] ToArray ()
 
byte[] ToArray (int start, int byteCount)
 
ImmutableArray< byte > ToImmutableArray ()
 
ImmutableArray< byte > ToImmutableArray (int start, int byteCount)
 
unsafe void WriteBytes (byte value, int byteCount)
 
unsafe void WriteBytes (byte *buffer, int byteCount)
 
void WriteBytes (BlobBuilder source)
 
int WriteBytes (Stream source, int byteCount)
 
void WriteBytes (ImmutableArray< byte > buffer)
 
void WriteBytes (ImmutableArray< byte > buffer, int start, int byteCount)
 
void WriteBytes (byte[] buffer)
 
unsafe void WriteBytes (byte[] buffer, int start, int byteCount)
 
void PadTo (int offset)
 
void Align (int alignment)
 
void WriteBoolean (bool value)
 
void WriteByte (byte value)
 
void WriteSByte (sbyte value)
 
void WriteDouble (double value)
 
void WriteSingle (float value)
 
void WriteInt16 (short value)
 
void WriteUInt16 (ushort value)
 
void WriteInt16BE (short value)
 
void WriteUInt16BE (ushort value)
 
void WriteInt32BE (int value)
 
void WriteUInt32BE (uint value)
 
void WriteInt32 (int value)
 
void WriteUInt32 (uint value)
 
void WriteInt64 (long value)
 
void WriteUInt64 (ulong value)
 
void WriteDecimal (decimal value)
 
void WriteGuid (Guid value)
 
void WriteDateTime (DateTime value)
 
void WriteReference (int reference, bool isSmall)
 
unsafe void WriteUTF16 (char[] value)
 
unsafe void WriteUTF16 (string value)
 
void WriteSerializedString (string? str)
 
void WriteUserString (string value)
 
void WriteUTF8 (string value, bool allowUnpairedSurrogates)
 
void WriteCompressedSignedInteger (int value)
 
void WriteCompressedInteger (int value)
 
void WriteConstant (object? value)
 
void Clear ()
 

Properties

bool IsDefault [get]
 
int Offset [get, set]
 
int Length [get]
 
int RemainingBytes [get]
 
Blob Blob [get]
 

Private Member Functions

int Advance (int value)
 
unsafe void WriteBytesUnchecked (byte *buffer, int byteCount)
 
unsafe void WriteUTF8 (string str, int start, int length, bool allowUnpairedSurrogates, bool prependSize)
 

Private Attributes

readonly byte[] _buffer
 
readonly int _start
 
readonly int _end
 
int _position
 

Detailed Description

Definition at line 8 of file BlobWriter.cs.


The documentation for this struct was generated from the following file: