Table of contents
TOC
Collapse the table of content
Expand the table of content

Lines.ToBinary

Owen Duncan|Last Updated: 4/19/2018

About

Converts a list of text into a binary value using the specified encoding and lineSeparator.The specified lineSeparator is appended to each line. If not specified then the carriage return and line feed characters are used.

Lines.ToBinary(lines as list, optional lineSeparator as nullable text,  optional encoding as nullable number, optional includeByteOrderMark as nullable logical)as binary  

Arguments

ArgumentDescription
linesThe list of lines to convert.
optional lineSeparatorDetermines whether the line break characters are included in the line. This is useful when the actual line break is significant and needs to be preserved. If not specified, then it defaults to false.If includeLineSeparators is true, then the line break characters are included in the text.
optional encodingThe encoding option to apply.
optional includeByteOrderMarkThe byte order mark to include.

Binary encoding

  • BinaryEncoding.Base64 = 0;

  • BinaryEncoding.Hex = 1;

© 2018 Microsoft