public unsafe void BuildInto(Byte *dst) { for (Int32 i = 0; i < parts.Length - 1; i++) { dst = Ascii.EncodeUnsafe(parts[i], dst); dst = Ascii.EncodeUnsafe(inbetweens[i], dst); } Ascii.EncodeUnsafe(parts[parts.Length - 1], dst); }
public unsafe void BuildInto(Byte[] dst) { UInt32 offset = 0; for (Int32 i = 0; i < parts.Length - 1; i++) { offset = Ascii.Encode(parts[i], dst, offset); offset = Ascii.Encode(inbetweens[i], dst, offset); } Ascii.Encode(parts[parts.Length - 1], dst, offset); }