SharpDisasm/Translators/Translator.cs
/// <summary>
/// Writes the instruction binary data to <see cref="Content"/>. The result is padded to 20 characters (supporting instructions up to 10-bytes long). If the instruction was disassembled without <see cref="Disassembler.CopyBinaryToInstruction"/> a blank 20 character string will be appended.
/// </summary>
/// <param name="insn">The instruction of which to append the binary data for</param>
Writes the instruction binary data to . The result is padded to 20 characters (supporting instructions up to 10-bytes long). If the instruction was disassembled without  a blank 20 character string will be appended.
Writes the instruction binary data to . The result is padded to 20 characters ( supporting instructions up to 10 - bytes long ) . If the instruction was disassembled without a blank 20 character string will be appended .
protected void WriteBinary(Instruction insn)
        {
            if (insn.Bytes != null)
            {
                Content.AppendFormat("{0,-30} ", String.Join("", (from b in insn.Bytes
                                                                   select String.Format("{0:x2} ", b)).ToArray()));
            }
        }
protected void WriteBinary ( Instruction insn ) { if ( insn . Bytes != null ) { Content . AppendFormat ( " " , String . Join ( " " , ( from b in insn . Bytes select String . Format ( " " , b ) ) . ToArray ( ) ) ) ; } }
Writes the instruction binary data to .
Writes the instruction binary data to .
insn
Instruction
The instruction of which to append the binary data for
The instruction of which to append the binary data for