We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a083fca commit 8055cc5Copy full SHA for 8055cc5
src/codec.rs
@@ -8,7 +8,7 @@ pub type SerializeFn<T> = fn(&T, &mut Vec<u8>) -> Result<()>;
8
9
/// According to https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md, grpc uses
10
/// a four bytes to describe the length of a message, so it should not exceed u32::MAX.
11
-const MAX_MESSAGE_SIZE: usize = u32::MAX as usize;
+pub const MAX_MESSAGE_SIZE: usize = u32::MAX as usize;
12
13
/// Defines how to serialize and deserialize between the specialized type and byte slice.
14
pub struct Marshaller<T> {
0 commit comments