diff options
author | Edoardo La Greca | 2025-08-11 19:50:24 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-11 19:50:24 +0200 |
commit | af1e89a1d5e903d33682ad71539152bf6f68f53d (patch) | |
tree | 8af736190c63b2deb117aba25a1450a807f22ba4 | |
parent | e959e5c358964bce8225d62c21c2c31be0b74366 (diff) |
change raw field type to List
-rw-r--r-- | src/main/kotlin/OutMessage.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/OutMessage.kt b/src/main/kotlin/OutMessage.kt index 3933440..dc16016 100644 --- a/src/main/kotlin/OutMessage.kt +++ b/src/main/kotlin/OutMessage.kt @@ -16,7 +16,7 @@ import kotlin.math.pow * @param fieldValuesRaw A map of each raw field's name into its value. * @param maxSize The maximum message size. */ -class OutMessage(val type: NinePMessageType, val tag: UShort, val fieldNames: List<String>, val fieldValuesInt: Map<String, Pair<BigInteger, UInt>>, val fieldValuesStr: Map<String, String>, val fieldValuesRaw: Map<String, Array<UByte>>, val maxSize: UInt) { +class OutMessage(val type: NinePMessageType, val tag: UShort, val fieldNames: List<String>, val fieldValuesInt: Map<String, Pair<BigInteger, UInt>>, val fieldValuesStr: Map<String, String>, val fieldValuesRaw: Map<String, List<UByte>>, val maxSize: UInt) { /** * Intersection between [fieldNames] and [fieldValuesInt]. In other words: the integer fields that are going to be * used when writing the message. |