System.IO.Compression.FastEncoder.SetInput C# (CSharp) Méthode

SetInput() public méthode

public SetInput ( byte input, int startIndex, int count ) : void
input byte
startIndex int
count int
Résultat void
        public void SetInput(byte[] input, int startIndex, int count) {
            this.inputBuffer.Buffer = input;
            this.inputBuffer.Count = count;
            this.inputBuffer.StartIndex = startIndex;
        }

Usage Example

 public void SetInput(byte[] input, int startIndex, int count)
 {
     encoder.SetInput(input, startIndex, count);
 }