Exact size in bytes of the stream serialize would write now.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(particle_soa_t), | intent(in) | :: | this |
Container to measure. |
pure function particle_soa_serialized_bytes(this) result(nbytes) !! Exact size in bytes of the stream `serialize` would write now. class(particle_soa_t), intent(in) :: this !! Container to measure. integer(int64) :: nbytes nbytes = soa_stream_bytes(PARTICLE_SOA_SCHEMA, this%extent%used, & PARTICLE_SOA_FIELD_KINDS) end function particle_soa_serialized_bytes