pub fn finish(self) -> (u64, Bytes) {
        let mut bytes = self.storage.into_inner();
        let len = bytes.len();
        if len == 0 {
            return (0, bytes.freeze());
        }

        bytes[len-2] = 45; //'-'
        bytes[len-1] = 45;

        bytes.extend_from_slice("\r\n".as_bytes());
        let len = len as u64 + 2;

        (len, bytes.freeze())
    }
///Finishes creating form and produces body with its length
Finishes creating form and produces body with its length
Finishes creating form and produces body with its length
pub fn finish(self) -> (u64, Bytes) {
        let mut bytes = self.storage.into_inner();
        let len = bytes.len();
        if len == 0 {
            return (0, bytes.freeze());
        }
        bytes[len-2] = 45; //'-'
        bytes[len-1] = 45;
        bytes.extend_from_slice("\r\n".as_bytes());
        let len = len as u64 + 2;
        (len, bytes.freeze())
    }
pub fn finish ( self ) -> ( u64 , Bytes ) { let mut bytes = self . storage . into_inner ( ) ; let len = bytes . len ( ) ; if len == 0 { return ( 0 , bytes . freeze ( ) ) ; } bytes [ len - 2 ] = 45 ; //'-' bytes [ len - 1 ] = 45 ; bytes . extend_from_slice ( " \r \n " . as_bytes ( ) ) ; let len = len as u64 + 2 ; ( len , bytes . freeze ( ) ) }
Finishes creating form and produces body with its length
Finishes creating form and produces body with its length
self