Update ByteArray length property to UInt.