v1.9.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.text / HexFormat / BytesHexFormat / Builder / bytesPerGroup

bytesPerGroup

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

Defines BytesHexFormat.bytesPerGroup 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
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains