manual.md in bindata-1.4.4 vs manual.md in bindata-1.4.5

- old
+ new

@@ -38,11 +38,11 @@ manipulating. It supports all the common datatypes that are found in structured binary data. Support for dependent and variable length fields is built in. -Last updated: 2012-06-21 +Last updated: 2012-07-24 ## License BinData is released under the same license as Ruby. @@ -574,9 +574,19 @@ obj #=> "abcd\000\000" obj = BinData::String.new(:length => 6) obj.assign("abcdefghij") obj #=> "abcdef" + {:ruby} + +`:pad_front` or `:pad_left` + +: Boolean, default `false`. Signifies that the padding occurs at the front + of the string rather than the end. + + obj = BinData::String.new(:length => 6, :pad_front => true) + obj.assign("abcd") + obj.snapshot #=> "\000\000abcd" {:ruby} `:pad_byte` : Defaults to `"\0"`. The character to use when padding a string to a