C# 클래스 PeterO.XorShift128Plus

A class that implements a statistically-random byte generator, using Sebastiano Vigna's xorshift128+ RNG as the underlying implementation. By default, this class is safe for concurrent use among multiple threads.
상속: IRandomGen
파일 보기 프로젝트 열기: peteroupc/CBOR

공개 메소드들

메소드 설명
GetBytes ( byte bytes, int offset, int length ) : int
XorShift128Plus ( ) : System

비공개 메소드들

메소드 설명
NextValue ( ) : long
Seed ( ) : void

메소드 상세

GetBytes() 공개 메소드

public GetBytes ( byte bytes, int offset, int length ) : int
bytes byte
offset int
length int
리턴 int

XorShift128Plus() 공개 메소드

public XorShift128Plus ( ) : System
리턴 System