← Docs
kotlin-stdlib / kotlin.text / HexFormat / BytesHexFormat / Builder / bytePrefix

bytePrefix

Common
JVM
JS
Native
1.0
var bytePrefix : String
(source)

Defines BytesHexFormat.bytePrefix of the format being built, empty string by default.

The string must not contain LF and CR characters.

Exceptions

IllegalArgumentException - if a string containing LF or CR character is assigned to this property.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .