Instance Method decode(_:from:) func decode<T>(_ type: T.Type, from buffer: ByteBuffer) throws -> T where T : Decodable