bool IsReadOnly { get; }
/// <summary>
- /// Copies data from a byte array to the buffer.
+ /// Copies data from the buffer to a byte array.
/// </summary>
/// <param name="dest">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
void CopyTo(byte[] dest, int startIndex, int length);
/// <summary>
- /// Copies data from a byte array to the buffer.
+ /// Copies data from the buffer to a byte array.
/// </summary>
/// <param name="dest">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
void CopyTo(byte[] dest, int startIndex, int length, int offset);
/// <summary>
- /// Copies data from the buffer to a byte array.
+ /// Copies data from a byte array to the buffer.
/// </summary>
/// <param name="source">The array to copy from.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
void CopyFrom(byte[] source, int startIndex, int length);
/// <summary>
- /// Copies data from the buffer to a byte array.
+ /// Copies data from a byte array to the buffer.
/// </summary>
/// <param name="source">The array to copy from.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>