<commit_before>﻿using System;
using System.Threading.Tasks;
using SafeOrbit.Memory;

namespace SafeOrbit.Memory.SafeBytesServices.Collection
{
    /// <inheritdoc />
    /// <summary>
    ///     Abstraction of a collection for <see cref="T:SafeOrbit.Memory.SafeBytesServices.ISafeByte" /> instances.
    /// </summary>
    /// <seealso cref="T:SafeOrbit.Memory.SafeBytesServices.ISafeByte" />
    internal interface ISafeByteCollection : IDisposable
    {
        int Length { get; }
        void Append(ISafeByte safeByte);
        /// <summary>
        ///     Gets the byte as <see cref="ISafeByte" /> for the specified index asynchronously.
        /// </summary>
        /// <param name="index">The position of the byte.</param>
        /// <seealso cref="Get" />
        Task<ISafeByte> GetAsync(int index);
        /// <summary>
        /// Returns all of the real byte values that <see cref="ISafeByteCollection"/> holds.
        /// CAUTION: Reveals all protected data in memory. Use with <see cref="SafeMemoryStream"/>.
        /// </summary>
        byte[] ToDecryptedBytes();
    }
}<commit_msg>removed comment for removed method<commit_after>﻿using System;
using System.Threading.Tasks;
using SafeOrbit.Memory;

namespace SafeOrbit.Memory.SafeBytesServices.Collection
{
    /// <inheritdoc />
    /// <summary>
    ///     Abstraction of a collection for <see cref="T:SafeOrbit.Memory.SafeBytesServices.ISafeByte" /> instances.
    /// </summary>
    /// <seealso cref="T:SafeOrbit.Memory.SafeBytesServices.ISafeByte" />
    internal interface ISafeByteCollection : IDisposable
    {
        int Length { get; }
        void Append(ISafeByte safeByte);
        /// <summary>
        ///     Gets the byte as <see cref="ISafeByte" /> for the specified index asynchronously.
        /// </summary>
        /// <param name="index">The position of the byte.</param>
        Task<ISafeByte> GetAsync(int index);
        /// <summary>
        /// Returns all of the real byte values that <see cref="ISafeByteCollection"/> holds.
        /// CAUTION: Reveals all protected data in memory. Use with <see cref="SafeMemoryStream"/>.
        /// </summary>
        byte[] ToDecryptedBytes();
    }
}
{'fraction_non_alphanumeric': 0.13487738419618528, 'fraction_numerical': 0.0, 'mean_word_length': 2.4802527646129544, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5397988', 'n_tokens_mistral': 630, 'n_tokens_neox': 613, 'n_words': 164}