Ocronet.Dynamic.OcroFST.FstIO.write_string C# (CSharp) Method

write_string() protected static method

protected static write_string ( BinaryWriter writer, string s ) : void
writer System.IO.BinaryWriter
s string
return void
        protected static void write_string(BinaryWriter writer, string s)
        {
            int n = s.Length;
            write_int32_LE(writer, n);
            byte[] buf = Encoding.ASCII.GetBytes(s);
            writer.Write(buf);
        }