public static Create ( Stream output, |
||
output | Stream | |
encoding | ||
endian | ||
리턴 |
public StreamByteTarget(Stream stream) { _stream = stream; _endian = Endian.LocalMachine; _writer = EndianBinaryWriter.Create(_stream, _endian); _lock = new object(); }
/// <summary> /// Initializes an instance of <see cref="FileByteTarget"/>. /// </summary> /// <param name="file"></param> public FileByteTarget(IFileReference file) { _file = file; _stream = _file.OpenWrite(); _endian = Endian.LocalMachine; _writer = EndianBinaryWriter.Create(_stream, _endian); _lock = new object(); }