From e807c0b627ff9aae9652ecac551c3a9b69dd2126 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Sat, 9 Aug 2014 15:58:57 -0400 Subject: [PATCH] Added XML documentation for UniversalEditor.IO.Reader.Align(int) method --- CSharp/Libraries/UniversalEditor.Core/IO/Reader.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CSharp/Libraries/UniversalEditor.Core/IO/Reader.cs b/CSharp/Libraries/UniversalEditor.Core/IO/Reader.cs index 813a4703..9335c4b2 100644 --- a/CSharp/Libraries/UniversalEditor.Core/IO/Reader.cs +++ b/CSharp/Libraries/UniversalEditor.Core/IO/Reader.cs @@ -1259,6 +1259,13 @@ namespace UniversalEditor.IO return buffer2; } + /// + /// Aligns the to the specified number of bytes. If the current + /// position of the is not a multiple of the specified number of bytes, + /// the position will be increased by the amount of bytes necessary to bring it to the + /// aligned position. + /// + /// The number of bytes on which to align the . public void Align(int alignTo) { long paddingCount = ((alignTo - (mvarAccessor.Position % alignTo)) % alignTo);