Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteBytes() [5/8]

unsafe void System.Reflection.Metadata.BlobWriter.WriteBytes ( byte[] buffer,
int start,
int byteCount )
inline

Definition at line 185 of file BlobWriter.cs.

186 {
187 if (buffer == null)
188 {
189 Throw.ArgumentNull("buffer");
190 }
191 BlobUtilities.ValidateRange(buffer.Length, start, byteCount, "byteCount");
192 if (buffer.Length != 0)
193 {
194 fixed (byte* ptr = &buffer[0])
195 {
196 WriteBytes(ptr + start, byteCount);
197 }
198 }
199 }
unsafe void WriteBytes(byte value, int byteCount)

References System.Reflection.Throw.ArgumentNull(), System.buffer, System.byteCount, System.start, System.Reflection.BlobUtilities.ValidateRange(), and System.Reflection.Metadata.BlobWriter.WriteBytes().