Hi, I have following class `open class XModemPacke...
# android
l
Hi, I have following class
open class XModemPacket(protected var bytes: ByteArray = ByteArray(133))
Can someone give me a hint, how I can have the getter public. I want that every sub class can set it and can be obtained from outside.
m
Make it a public property with a protected setter? instead of a constructor argument
l
Obvious. Thanks!
rubber duck 1