encode
Encode the contents to boolean array expression of one-dimensional barcode. Start code and end code should be included in result, and side margins should not be included.
Return
a boolean[] of horizontal pixels (false = white, true = black)
Parameters
contents
barcode contents to encode