Function shadowsocks::relay::tcprelay::utils::alloc_encrypted_read_buffer[][src]

pub fn alloc_encrypted_read_buffer(method: CipherKind) -> Box<[u8]>

Create a buffer for reading from shadowsocks’ encrypted channel