# Function command::max_envelope

> The largest command envelope for `type_` in bytes: `max_frame` for `community.create` and `community.descriptor.publish`, else 65 536.

`zaun_community_protocol::command::max_envelope` · Function

```rust
pub fn max_envelope(type_: &str) -> usize
```

The largest command envelope for `type_` in bytes: `max_frame` for
`community.create` and `community.descriptor.publish`, else 65 536.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/reserved/fn.max_envelope.html)
