C# 클래스 Cornerstone.Extensions.ByteExtensions

파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
ToFormattedByteString ( this fileSize ) : string

returns localised pretty string for byte size

ToHexString ( this self ) : string

Converts a byte array to a hexadecimal string (hash)

비공개 메소드들

메소드 설명
StrFormatByteSize ( long fileSize, [ buffer, int bufferSize ) : long

메소드 상세

ToFormattedByteString() 공개 정적인 메소드

returns localised pretty string for byte size
public static ToFormattedByteString ( this fileSize ) : string
fileSize this filesize in bytes
리턴 string

ToHexString() 공개 정적인 메소드

Converts a byte array to a hexadecimal string (hash)
public static ToHexString ( this self ) : string
self this
리턴 string