diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/NinePMessage.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/NinePMessage.kt b/src/main/kotlin/NinePMessage.kt index 225ec45..1d77807 100644 --- a/src/main/kotlin/NinePMessage.kt +++ b/src/main/kotlin/NinePMessage.kt @@ -52,13 +52,14 @@ class NinePMessage(val type: NinePMessageType, val tag: UShort, val fieldNames: } } + // TODO: Add size that the value is required to fit in /** * Write an integer number to the connection. * * In 9P, binary numbers (non-textual) are specified in little-endian order (least significant byte first). * * @param npt The networking API. - * @param value The number's value. [SizedMessageField] defines both its actual value and its size. + * @param value The number's value. */ private fun writeInteger(npt: NetworkPacketTransporter, value: BigInteger) { val bytes = value.toByteArray() |