C# Class Studyzy.LearnEnglishBySubtitle.Helpers.BinFileHelper

显示文件 Open project: studyzy/LearnEnglishBySubtitle

Public Methods

Method Description
ReadArray ( Stream fs, int count ) : byte[]
ReadArray ( byte fs, int position, int count ) : byte[]
ReadInt16 ( Stream fs ) : short
ReadInt32 ( Stream fs ) : int
ReadInt64 ( Stream fs ) : long

Method Details

ReadArray() public static method

public static ReadArray ( Stream fs, int count ) : byte[]
fs Stream
count int
return byte[]

ReadArray() public static method

public static ReadArray ( byte fs, int position, int count ) : byte[]
fs byte
position int
count int
return byte[]

ReadInt16() public static method

public static ReadInt16 ( Stream fs ) : short
fs Stream
return short

ReadInt32() public static method

public static ReadInt32 ( Stream fs ) : int
fs Stream
return int

ReadInt64() public static method

public static ReadInt64 ( Stream fs ) : long
fs Stream
return long