Skip to content

RzxBlock.WriteFixedAsciiString Method ​

Definition ​

Writes a fixed length, zero padded ASCII string into the target span.

c#
protected static void WriteFixedAsciiString(Span<Byte> target, string value);

View source

Parameters ​

NameTypeDescription
targetSpan<Byte>The destination span, whose length is the fixed field length. Any bytes beyond the string are left as zero.
valueStringThe string to write.