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

bytesPerLine

Common
JVM
JS
Native
1.0
var bytesPerLine : Int
(source)

Defines BytesHexFormat.bytesPerLine of the format being built, Int.MAX_VALUE by default.

The value must be positive.

Exceptions

IllegalArgumentException - if a non-positive value 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 .