Bari.Core.Test.Helper.TestFileSystemDirectory.ReadBinaryFile C# (CSharp) Method

ReadBinaryFile() public method

Reads an existing binary file which lies in this directory subtree
If the file does not exist.
public ReadBinaryFile ( string relativePath ) : Stream
relativePath string The relative path to the file from this directory
return Stream
        public Stream ReadBinaryFile(string relativePath)
        {
            return new MemoryStream(Encoding.UTF8.GetBytes(relativePath));
        }