R/serializedSize.R
serializedSize.Rd
This function goes through all the motions of serializing an object, but does nothing with the bytes other than to tally the total length.
serializedSize(obj)
(double) Number of bytes needed to serialize this object.
object.size(mtcars)
#> 7208 bytes
serializedSize(mtcars)
#> [1] 3807