필드 · Hexadecimal

필드 · Hexadecimal · string.hexadecimal. 생성 메서드 · 예시

string.hexadecimal

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Returns a hexadecimal string.

string.hexadecimal(options?: { length?, casing?, prefix? })
options
The optional options object.
options.length
The length of the string (excluding the prefix) to generate either as a fixed length or as a length range. Defaults to 1.
options.casing
Casing of the generated number. Defaults to 'mixed'.
options.prefix
Prefix for the generated number. Defaults to '0x'.

예시

"0xe"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색