Example #1
0
 public static void WriteUTF8String(this Span <byte> destination, string value, ref int cursor) => SpanWriting.WriteUTF8String(destination, value, ref cursor);
Example #2
0
 public static void WriteUInt64LittleEndian(this Span <byte> destination, ulong value, ref int cursor) => SpanWriting.WriteUInt64LittleEndian(destination, value, ref cursor);
Example #3
0
 public static void WriteSpan(this Span <byte> destination, ReadOnlySpan <byte> value, ref int cursor) => SpanWriting.WriteSpan(destination, value, ref cursor);
Example #4
0
 public static void WriteInt64BigEndian(this Span <byte> destination, long value, ref int cursor) => SpanWriting.WriteInt64BigEndian(destination, value, ref cursor);
Example #5
0
 public static void WriteUInt32BigEndian(this Span <byte> destination, uint value, ref int cursor) => SpanWriting.WriteUInt32BigEndian(destination, value, ref cursor);
Example #6
0
 public static void WriteInt32LittleEndian(this Span <byte> destination, int value, ref int cursor) => SpanWriting.WriteInt32LittleEndian(destination, value, ref cursor);
Example #7
0
 public static bool TryWriteASCIIString(this Span <byte> destination, string value, ref int cursor) => SpanWriting.TryWriteASCIIString(destination, value, ref cursor);
Example #8
0
 public static bool TryWriteUInt64BigEndian(this Span <byte> destination, ulong value, ref int cursor) => SpanWriting.TryWriteUInt64BigEndian(destination, value, ref cursor);
Example #9
0
 public static bool TryWriteUInt32LittleEndian(this Span <byte> destination, uint value, ref int cursor) => SpanWriting.TryWriteUInt32LittleEndian(destination, value, ref cursor);
Example #10
0
 public static bool TryWriteInt16BigEndian(this Span <byte> destination, short value, ref int cursor) => SpanWriting.TryWriteInt16BigEndian(destination, value, ref cursor);