public void ThrowIfNotAligned(int desiredAlignment = Constants.X64Alignment)
 {
     ByteAlignedReadWriteHelper.ThrowIfNotAligned(this.BaseStream, desiredAlignment);
 }
 public void ReadPaddingUntilAligned(bool isReserved, int desiredAlignment = Constants.X64Alignment)
 {
     ByteAlignedReadWriteHelper.ReadPaddingUntilAligned(this, isReserved, desiredAlignment);
 }
 public bool IsAligned(int desiredAlignment = Constants.X64Alignment)
 {
     return(ByteAlignedReadWriteHelper.IsAligned(this.BaseStream, desiredAlignment));
 }
Example #4
0
 public void WritePaddingUntilAligned(int desiredAlignment = Constants.X64Alignment)
 {
     ByteAlignedReadWriteHelper.WritePaddingUntilAligned(this, desiredAlignment);
 }